+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
-| Copyright CiviCRM LLC (c) 2004-2015 |
+| Copyright CiviCRM LLC (c) 2004-2016 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
*/
-
-require_once 'CiviTest/CiviUnitTestCase.php';
-
/**
* Class api_v3_PaymentTokenTest
+ * @group headless
*/
class api_v3_PaymentTokenTest extends CiviUnitTestCase {
protected $_apiversion;
$this->useTransaction(TRUE);
parent::setUp();
$contactID = $this->individualCreate();
- $paymentProcessor = $this->processorCreate();
$this->params = array(
'token' => "fancy-token-xxxx",
'contact_id' => $contactID,
'created_id' => $contactID,
- 'payment_processor_id' => $paymentProcessor->id,
+ 'payment_processor_id' => $this->processorCreate(),
);
}