Ejegg has uploaded a new change for review. https://gerrit.wikimedia.org/r/215251
Change subject: Remove debit cards from Brazil form ...................................................................... Remove debit cards from Brazil form Change-Id: Ia35f1da7d21b809309b03000ec135618fed7f8d5 --- M astropay_gateway/astropay.adapter.php M tests/Adapter/Astropay/AstropayTest.php 2 files changed, 2 insertions(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DonationInterface refs/changes/51/215251/1 diff --git a/astropay_gateway/astropay.adapter.php b/astropay_gateway/astropay.adapter.php index 4160b71..aba0076 100644 --- a/astropay_gateway/astropay.adapter.php +++ b/astropay_gateway/astropay.adapter.php @@ -297,7 +297,6 @@ 'label' => 'Visa Debit', 'group' => 'cc', 'countries' => array( - 'BR' => true, 'MX' => true, ), ); @@ -308,7 +307,6 @@ 'label' => 'Mastercard Debit', 'group' => 'cc', 'countries' => array( - 'BR' => true, 'MX' => true, ), ); diff --git a/tests/Adapter/Astropay/AstropayTest.php b/tests/Adapter/Astropay/AstropayTest.php index 542a1ea..a5dfb0c 100644 --- a/tests/Adapter/Astropay/AstropayTest.php +++ b/tests/Adapter/Astropay/AstropayTest.php @@ -313,13 +313,13 @@ function testUnstagePaymentSubmethod() { $init = $this->getDonorTestData( 'BR' ); $init['payment_method'] = 'cc'; - $init['bank_code'] = 'VD'; + $init['bank_code'] = 'EL'; $gateway = $this->getFreshGatewayObject( $init ); $gateway->doPayment(); $submethod = $gateway->getData_Unstaged_Escaped( 'payment_submethod' ); - $this->assertEquals( 'visa_debit', $submethod, 'Not setting payment submethod in doPayment' ); + $this->assertEquals( 'elo', $submethod, 'Not setting payment submethod in doPayment' ); } /** -- To view, visit https://gerrit.wikimedia.org/r/215251 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia35f1da7d21b809309b03000ec135618fed7f8d5 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/DonationInterface Gerrit-Branch: master Gerrit-Owner: Ejegg <eeggles...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits