test fix - instantiate processor in live mode
authorEileen McNaughton <eileen@fuzion.co.nz>
Thu, 16 Jul 2015 09:42:22 +0000 (21:42 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Thu, 16 Jul 2015 09:42:22 +0000 (21:42 +1200)
tests/phpunit/CRM/Core/Payment/AuthorizeNetIPNTest.php

index 0661a7604e8da75635806b09746d740c86b30f50..49fe39aa5d35194aa2a5264e522b08efc1996629 100644 (file)
@@ -16,7 +16,7 @@ class CRM_Core_Payment_AuthorizeNetIPNTest extends CiviUnitTestCase {
 
   public function setUp() {
     parent::setUp();
-    $this->_paymentProcessorID = $this->paymentProcessorAuthorizeNetCreate();
+    $this->_paymentProcessorID = $this->paymentProcessorAuthorizeNetCreate(array('is_test' => 0));
     $this->_contactID = $this->individualCreate();
     $contributionPage = $this->callAPISuccess('contribution_page', 'create', array(
       'title' => "Test Contribution Page",