From: Pradeep Nayak Date: Thu, 11 Aug 2016 12:41:13 +0000 (+0530) Subject: CRM-16189, fixed test X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=89b573c193bbb2aa7f89c8df4a9cee1c176e7635;p=civicrm-core.git CRM-16189, fixed test ---------------------------------------- * CRM-16189: Improve support for Accrual Method bookkeeping https://issues.civicrm.org/jira/browse/CRM-16189 --- diff --git a/tests/phpunit/api/v3/MembershipTypeTest.php b/tests/phpunit/api/v3/MembershipTypeTest.php index 2eca785cf9..9d27887538 100644 --- a/tests/phpunit/api/v3/MembershipTypeTest.php +++ b/tests/phpunit/api/v3/MembershipTypeTest.php @@ -77,7 +77,7 @@ class api_v3_MembershipTypeTest extends CiviUnitTestCase { $membershipType = $this->callAPIAndDocument('membership_type', 'get', $params, __FUNCTION__, __FILE__); $this->assertEquals($membershipType['values'][$id]['name'], 'General'); $this->assertEquals($membershipType['values'][$id]['member_of_contact_id'], $this->_contactID); - $this->assertEquals($membershipType['values'][$id]['financial_type_id'], 1); + $this->assertEquals($membershipType['values'][$id]['financial_type_id'], 2); $this->assertEquals($membershipType['values'][$id]['duration_unit'], 'year'); $this->assertEquals($membershipType['values'][$id]['duration_interval'], '1'); $this->assertEquals($membershipType['values'][$id]['period_type'], 'rolling');