X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fapi%2Fv3%2FPledgeTest.php;h=fac885bfb215207d930fb7d2b82979560760f969;hb=0e87954f62c4fa1c54d72c1cd2d47dc84f9e5201;hp=e40bf6c7e11d1b47f0f0423cc841df0d410ba16c;hpb=65742a3ed0f9444378e73bdab10469176f07ce49;p=civicrm-core.git diff --git a/tests/phpunit/api/v3/PledgeTest.php b/tests/phpunit/api/v3/PledgeTest.php index e40bf6c7e1..fac885bfb2 100644 --- a/tests/phpunit/api/v3/PledgeTest.php +++ b/tests/phpunit/api/v3/PledgeTest.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2014 | + | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -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); }