Skip to content

Commit

Permalink
Merge pull request #17689 from demeritcowboy/fintest-case-sensitive
Browse files Browse the repository at this point in the history
[Test framework] dev/wordpress#61 - Fix case-sensitive spelling in unit test
  • Loading branch information
seamuslee001 authored Jun 25, 2020
2 parents d70a162 + 2cd0f8a commit ca7d72a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/phpunit/CRM/Financial/BAO/FinancialAccountTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,21 +159,21 @@ public function testGetAccountingCode() {
* Test getting financial account for a given financial Type with a particular relationship.
*/
public function testGetFinancialAccountByFinancialTypeAndRelationshipBuiltIn() {
$this->assertEquals(2, CRM_Financial_BAO_FinancialAccount::getFinancialAccountForFinancialTypeByRelationship(2, 'Income Account Is'));
$this->assertEquals(2, CRM_Financial_BAO_FinancialAccount::getFinancialAccountForFinancialTypeByRelationship(2, 'Income Account is'));
}

/**
* Test getting financial account for a given financial Type with a particular relationship.
*/
public function testGetFinancialAccountByFinancialTypeAndRelationshipBuiltInRefunded() {
$this->assertEquals(2, CRM_Financial_BAO_FinancialAccount::getFinancialAccountForFinancialTypeByRelationship(2, 'Credit/Contra Revenue Account Is'));
$this->assertEquals(2, CRM_Financial_BAO_FinancialAccount::getFinancialAccountForFinancialTypeByRelationship(2, 'Credit/Contra Revenue Account is'));
}

/**
* Test getting financial account for a given financial Type with a particular relationship.
*/
public function testGetFinancialAccountByFinancialTypeAndRelationshipBuiltInChargeBack() {
$this->assertEquals(2, CRM_Financial_BAO_FinancialAccount::getFinancialAccountForFinancialTypeByRelationship(2, 'Chargeback Account Is'));
$this->assertEquals(2, CRM_Financial_BAO_FinancialAccount::getFinancialAccountForFinancialTypeByRelationship(2, 'Chargeback Account is'));
}

/**
Expand Down

0 comments on commit ca7d72a

Please sign in to comment.