CRM-16367 (Payment): recurring contrib test formatting issue.
authorRob Thorne <rob@torenware.com>
Wed, 29 Apr 2015 22:14:34 +0000 (22:14 +0000)
committerRob Thorne <rob@torenware.com>
Thu, 30 Apr 2015 03:05:42 +0000 (03:05 +0000)
tests/phpunit/api/v3/ContributionRecurTest.php

index 0d876d4d531859dbb6b70ce538f4ee95b6a862fc..07445a715cc110c8c900b1f3760fc93fe5bf9a1f 100644 (file)
@@ -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']);