+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
$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);
}