From: Edsel Date: Wed, 17 Feb 2016 14:08:19 +0000 (+0530) Subject: CRM-16526 CIVI-3 Fixed more jenkins style warnings X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3007d344b87ad86cdfac5e6064d6eb62a0032538;p=civicrm-core.git CRM-16526 CIVI-3 Fixed more jenkins style warnings ---------------------------------------- * CRM-16526: ACLs for Financial Types https://issues.civicrm.org/jira/browse/CRM-16526 --- diff --git a/tests/phpunit/api/v3/FinancialTypeACLTest.php b/tests/phpunit/api/v3/FinancialTypeACLTest.php index 422bab72fa..44012ca0c7 100644 --- a/tests/phpunit/api/v3/FinancialTypeACLTest.php +++ b/tests/phpunit/api/v3/FinancialTypeACLTest.php @@ -171,7 +171,7 @@ class api_v3_FinancialTypeACLTest extends CiviUnitTestCase { ); $contribution = $this->callAPISuccess('contribution', 'get', $params); - + $this->assertEquals(1, $contribution['count']); $this->assertEquals($contribution['values'][$contribution['id']]['contact_id'], $this->_individualId); $this->assertEquals($contribution['values'][$contribution['id']]['financial_type_id'], 1); @@ -359,7 +359,8 @@ class api_v3_FinancialTypeACLTest extends CiviUnitTestCase { 'delete contributions of type Donation', ); $contribution = $this->callAPISuccess('Contribution', 'delete', $params); - + $this->assertEquals($contribution['count'], 1); } + }