Ejegg has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/306802

Change subject: Use default test filename for DO_PAYMENT success
......................................................................

Use default test filename for DO_PAYMENT success

Makes it possible to run recurring tests involving the adapter where you
manipulate the instance.

Change-Id: Iaa94f7876b98d104590211cd3f910c6eef1953f7
---
M tests/phpunit/Adapter/GlobalCollect/RecurringTest.php
R tests/phpunit/includes/Responses/globalcollect/DO_PAYMENT.testresponse
2 files changed, 0 insertions(+), 3 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DonationInterface 
refs/changes/02/306802/1

diff --git a/tests/phpunit/Adapter/GlobalCollect/RecurringTest.php 
b/tests/phpunit/Adapter/GlobalCollect/RecurringTest.php
index 61f4723..fa5f998 100644
--- a/tests/phpunit/Adapter/GlobalCollect/RecurringTest.php
+++ b/tests/phpunit/Adapter/GlobalCollect/RecurringTest.php
@@ -57,9 +57,6 @@
                        'payment_product' => '',
                );
                $gateway = $this->getFreshGatewayObject( $init );
-
-               $gateway->setDummyGatewayResponseCode( 'recurring-OK' );
-
                $result = $gateway->do_transaction( 'Recurring_Charge' );
 
                $this->assertTrue( $result->getCommunicationStatus() );
diff --git 
a/tests/phpunit/includes/Responses/globalcollect/DO_PAYMENT_recurring-OK.testresponse
 b/tests/phpunit/includes/Responses/globalcollect/DO_PAYMENT.testresponse
similarity index 100%
rename from 
tests/phpunit/includes/Responses/globalcollect/DO_PAYMENT_recurring-OK.testresponse
rename to tests/phpunit/includes/Responses/globalcollect/DO_PAYMENT.testresponse

-- 
To view, visit https://gerrit.wikimedia.org/r/306802
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaa94f7876b98d104590211cd3f910c6eef1953f7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Ejegg <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to