From: Tim Mallezie Date: Thu, 21 May 2015 05:45:49 +0000 (+0200) Subject: fix membershiptypetest X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0e87954f62c4fa1c54d72c1cd2d47dc84f9e5201;p=civicrm-core.git fix membershiptypetest --- diff --git a/tests/phpunit/api/v3/MembershipTypeTest.php b/tests/phpunit/api/v3/MembershipTypeTest.php index 8f5d0123be..12cae832f9 100644 --- a/tests/phpunit/api/v3/MembershipTypeTest.php +++ b/tests/phpunit/api/v3/MembershipTypeTest.php @@ -65,7 +65,7 @@ class api_v3_MembershipTypeTest extends CiviUnitTestCase { 'id' => $id, ); $membershiptype = $this->callAPIAndDocument('membership_type', 'get', $params, __FUNCTION__, __FILE__); - $this->assertEquals($membershiptype['values'][$id]['name'], 'General' . " id is " . $id); + $this->assertEquals($membershiptype['values'][$id]['name'], 'General'); $this->assertEquals($membershiptype['values'][$id]['member_of_contact_id'], $this->_contactID, 'In line ' . __LINE__); $this->assertEquals($membershiptype['values'][$id]['financial_type_id'], 1, 'In line ' . __LINE__); $this->assertEquals($membershiptype['values'][$id]['duration_unit'], 'year');