Skip to content

Commit

Permalink
Remove deprecated join from test
Browse files Browse the repository at this point in the history
  • Loading branch information
colemanw committed Aug 10, 2021
1 parent b60c824 commit 19eacca
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/phpunit/api/v3/ContributionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3451,7 +3451,6 @@ public function testCompleteTransactionMembershipPriceSet(): void {
//Assert only three activities are created.
$activityNames = (array) ActivityContact::get(FALSE)
->addWhere('contact_id', '=', $this->_ids['contact'])
->addSelect('activity.*')
->addSelect('activity_id.activity_type_id:name')->execute()->indexBy('activity_id.activity_type_id:name');
$this->assertArrayHasKey('Contribution', $activityNames);
$this->assertArrayHasKey('Membership Signup', $activityNames);
Expand Down

0 comments on commit 19eacca

Please sign in to comment.