Skip to content

Commit

Permalink
Use name instead of hard coded ids in the PaymentProcessor Type field
Browse files Browse the repository at this point in the history
  • Loading branch information
seamuslee001 committed Oct 4, 2020
1 parent 472b0ef commit 397df8e
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 397df8e

Please sign in to comment.