fix membershiptypetest
[civicrm-core.git] / tests / phpunit / api / v3 / PledgeTest.php
index 6a42875bfd438c6e3bde2d461fdc57eb0ed20be5..fac885bfb215207d930fb7d2b82979560760f969 100644 (file)
@@ -535,7 +535,7 @@ class api_v3_PledgeTest extends CiviUnitTestCase {
     $this->callAPISuccess('pledge', 'create', $this->_params);
     $result = $this->callAPISuccess('pledge', 'get', array());
     $this->assertAPISuccess($result, "This test is failing because it's acting like a contact get when no params set. Not sure the fix");
-    $this->assertEquals(1, $result['count'], 'in line ' . __LINE__);
+    $this->assertEquals(1, $result['count']);
     $pledgeID = array('id' => $result['id']);
     $this->callAPISuccess('pledge', 'delete', $pledgeID);
   }