From: Rob Thorne Date: Wed, 29 Apr 2015 22:14:34 +0000 (+0000) Subject: CRM-16367 (Payment): recurring contrib test formatting issue. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0cc123b5576eb61f0a96d7647e3be0d76bf9a1b1;p=civicrm-core.git CRM-16367 (Payment): recurring contrib test formatting issue. --- diff --git a/tests/phpunit/api/v3/ContributionRecurTest.php b/tests/phpunit/api/v3/ContributionRecurTest.php index 0d876d4d53..07445a715c 100644 --- a/tests/phpunit/api/v3/ContributionRecurTest.php +++ b/tests/phpunit/api/v3/ContributionRecurTest.php @@ -78,8 +78,11 @@ class api_v3_ContributionRecurTest extends CiviUnitTestCase { // create token $this->createLoggedInUser(); $paymentProcessor = $this->processorCreate(); - $token = $this->callAPISuccess('PaymentToken', 'create', array('payment_processor_id' => $paymentProcessor->id, 'token' => 'hhh', - 'contact_id' => $this->individualCreate())); + $token = $this->callAPISuccess('PaymentToken', 'create', array( + 'payment_processor_id' => $paymentProcessor->id, + 'token' => 'hhh', + 'contact_id' => $this->individualCreate(), + )); $params['payment_token_id'] = $token['id']; $result = $this->callAPISuccess($this->_entity, 'create', $this->params); $this->assertEquals(1, $result['count']);