From 397df8e16a7ef1acda596260afb981597c49e307 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Sun, 4 Oct 2020 15:37:26 +1100 Subject: [PATCH] Use name instead of hard coded ids in the PaymentProcessor Type field --- tests/phpunit/CRM/Iats/ContributionIATSTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/CRM/Iats/ContributionIATSTest.php b/tests/phpunit/CRM/Iats/ContributionIATSTest.php index 6a45578b..f81d2e57 100644 --- a/tests/phpunit/CRM/Iats/ContributionIATSTest.php +++ b/tests/phpunit/CRM/Iats/ContributionIATSTest.php @@ -227,7 +227,7 @@ public function processorCreateCC($params = array()) { $processorParams = array( 'domain_id' => 1, 'name' => 'iATS Credit Card - TE4188', - 'payment_processor_type_id' => 15, + 'payment_processor_type_id' => 'iATS Payments Credit Card', 'financial_account_id' => 12, 'is_test' => FALSE, 'is_active' => 1, @@ -257,7 +257,7 @@ public function processorCreateSWIPE($params = array()) { $processorParams = array( 'domain_id' => 1, 'name' => 'iATS Credit Card - TE4188', - 'payment_processor_type_id' => 17, + 'payment_processor_type_id' => 'iATS Payments SWIPE', 'financial_account_id' => 12, 'is_test' => FALSE, 'is_active' => 1,