From: Pradeep Nayak Date: Mon, 25 Mar 2013 20:25:20 +0000 (+0530) Subject: --fixed CRM test, for CRM-12192 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1c5f06af3822982abf9faf3cd8fd37b2489bd1d8;p=civicrm-core.git --fixed CRM test, for CRM-12192 --- diff --git a/tests/phpunit/CRM/Financial/BAO/FinancialTypeAccountTest.php b/tests/phpunit/CRM/Financial/BAO/FinancialTypeAccountTest.php index 21ca637e1c..f45793e05a 100755 --- a/tests/phpunit/CRM/Financial/BAO/FinancialTypeAccountTest.php +++ b/tests/phpunit/CRM/Financial/BAO/FinancialTypeAccountTest.php @@ -131,8 +131,8 @@ class CRM_Financial_BAO_FinancialTypeAccountTest extends CiviUnitTestCase { CRM_Financial_BAO_FinancialTypeAccount::add($financialParams, $ids); $defaults = array(); $financialAccountType = CRM_Financial_BAO_FinancialTypeAccount::retrieve($financialParams, $defaults); - $this->assertEquals( $financialAccountType->entity_id, $financialType->id, 'Verify Entity Id.'); - $this->assertEquals( $financialAccountType->financial_account_id, $financialAccount->id, 'Verify Financial Account Id.'); + $this->assertEquals( $financialAccountType['entity_id'], $financialType->id, 'Verify Entity Id.'); + $this->assertEquals( $financialAccountType['financial_account_id'], $financialAccount->id, 'Verify Financial Account Id.'); } /**