X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fapi%2Fv3%2FPaymentProcessorTest.php;h=701a2e79557e25ca27869a57fbe48b2f2f6e4a41;hb=d0e1eff24573414e78109575961c62fb081259b7;hp=77b6611c2af3183ecf4d7d1307460a7e7b472386;hpb=0249f58efc32bad9342b5da9fcc4d51474c10635;p=civicrm-core.git diff --git a/tests/phpunit/api/v3/PaymentProcessorTest.php b/tests/phpunit/api/v3/PaymentProcessorTest.php index 77b6611c2a..701a2e7955 100644 --- a/tests/phpunit/api/v3/PaymentProcessorTest.php +++ b/tests/phpunit/api/v3/PaymentProcessorTest.php @@ -88,9 +88,7 @@ class api_v3_PaymentProcessorTest extends CiviUnitTestCase { 'is_active' => 1, 'version' => $this->_apiversion, ); - $result = civicrm_api('payment_processor', 'create', $payProcParams); - - $this->assertAPIFailure($result); + $result = $this->callAPIFailure('payment_processor', 'create', $payProcParams); } /**