From 1c5f06af3822982abf9faf3cd8fd37b2489bd1d8 Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Tue, 26 Mar 2013 01:55:20 +0530 Subject: [PATCH] --fixed CRM test, for CRM-12192 --- tests/phpunit/CRM/Financial/BAO/FinancialTypeAccountTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.'); } /** -- 2.25.1