Skip to content

Commit

Permalink
Merge pull request iATSPayments#334 from seamuslee001/use_name_paymen…
Browse files Browse the repository at this point in the history
…t_processor_type

Use name instead of hard coded ids in the PaymentProcessor Type field
  • Loading branch information
KarinG authored Oct 4, 2020
2 parents 472b0ef + 397df8e commit 155c370
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/phpunit/CRM/Iats/ContributionIATSTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 155c370

Please sign in to comment.