From 3007d344b87ad86cdfac5e6064d6eb62a0032538 Mon Sep 17 00:00:00 2001 From: Edsel Date: Wed, 17 Feb 2016 19:38:19 +0530 Subject: [PATCH] CRM-16526 CIVI-3 Fixed more jenkins style warnings ---------------------------------------- * CRM-16526: ACLs for Financial Types https://issues.civicrm.org/jira/browse/CRM-16526 --- tests/phpunit/api/v3/FinancialTypeACLTest.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); } + } -- 2.25.1