fix membershiptypetest
authorTim Mallezie <tim.mallezie@chiro.be>
Thu, 21 May 2015 05:45:49 +0000 (07:45 +0200)
committerTim Mallezie <tim.mallezie@chiro.be>
Thu, 21 May 2015 05:45:49 +0000 (07:45 +0200)
tests/phpunit/api/v3/MembershipTypeTest.php

index 8f5d0123bedcaa836d8b831cdcbd1e3e023cc38c..12cae832f9f161b7a0d30a3c8087e42cf7320624 100644 (file)
@@ -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');