From 23a89bbab1954e5458c932927025588ee1290f49 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sat, 18 Jul 2015 05:59:45 +1200 Subject: [PATCH] test fixes --- tests/phpunit/CRM/Core/Payment/AuthorizeNetTest.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/phpunit/CRM/Core/Payment/AuthorizeNetTest.php b/tests/phpunit/CRM/Core/Payment/AuthorizeNetTest.php index 78bed99e81..da8791fd82 100644 --- a/tests/phpunit/CRM/Core/Payment/AuthorizeNetTest.php +++ b/tests/phpunit/CRM/Core/Payment/AuthorizeNetTest.php @@ -46,7 +46,6 @@ class CRM_Core_Payment_AuthorizeNetTest extends CiviUnitTestCase { } public function tearDown() { - $this->paymentProcessor->delete($this->processorParams->id); $this->quickCleanUpFinancialEntities(); } @@ -210,7 +209,7 @@ class CRM_Core_Payment_AuthorizeNetTest extends CiviUnitTestCase { 'invoice_id' => $invoiceID, 'contribution_status_id' => 2, 'is_test' => 1, - 'payment_processor_id' => $this->processorParams->id, + 'payment_processor_id' => $this->_paymentProcessorID, ); $recur = CRM_Contribute_BAO_ContributionRecur::add($contributionRecurParams, $ids); @@ -255,7 +254,7 @@ class CRM_Core_Payment_AuthorizeNetTest extends CiviUnitTestCase { 'from_email_address' => "{$firstName}.{$lastName}@example.com", 'receive_date' => $start_date, 'receipt_date_time' => '', - 'payment_processor_id' => $this->processorParams->id, + 'payment_processor_id' => $this->_paymentProcessorID, 'price_set_id' => '', 'total_amount' => $amount, 'currency' => 'USD', -- 2.25.1