Gergő Tisza has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/349092 )

Change subject: Switch TestingAccessWrapper to librarized version
......................................................................

Switch TestingAccessWrapper to librarized version

Change-Id: Iab1a2d6ec361eb282378df8de5126005942a870f
---
M composer.json
M tests/phpunit/Adapter/Adyen/AdyenTest.php
M tests/phpunit/Adapter/AstroPay/AstroPayTest.php
M tests/phpunit/Adapter/GatewayAdapterTest.php
M tests/phpunit/Adapter/GlobalCollect/GlobalCollectOrphanAdapterTest.php
M tests/phpunit/Adapter/GlobalCollect/GlobalCollectTest.php
M tests/phpunit/DonationInterfaceTestCase.php
M tests/phpunit/FraudFiltersTest.php
8 files changed, 16 insertions(+), 2 deletions(-)


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

diff --git a/composer.json b/composer.json
index d62654a..befeb83 100644
--- a/composer.json
+++ b/composer.json
@@ -35,7 +35,8 @@
                "addshore/psr-6-mediawiki-bagostuff-adapter": "0.1"
        },
        "require-dev": {
-               "jakub-onderka/php-parallel-lint": "0.9.2"
+               "jakub-onderka/php-parallel-lint": "0.9.2",
+               "wikimedia/testing-access-wrapper": "~1.0"
        },
        "repositories": [
                {
diff --git a/tests/phpunit/Adapter/Adyen/AdyenTest.php 
b/tests/phpunit/Adapter/Adyen/AdyenTest.php
index bc70637..137d256 100644
--- a/tests/phpunit/Adapter/Adyen/AdyenTest.php
+++ b/tests/phpunit/Adapter/Adyen/AdyenTest.php
@@ -15,6 +15,8 @@
  * GNU General Public License for more details.
  */
 
+use Wikimedia\TestingAccessWrapper;
+
 /**
  *
  * @group Fundraising
diff --git a/tests/phpunit/Adapter/AstroPay/AstroPayTest.php 
b/tests/phpunit/Adapter/AstroPay/AstroPayTest.php
index 7af0d9c..95d45a1 100644
--- a/tests/phpunit/Adapter/AstroPay/AstroPayTest.php
+++ b/tests/phpunit/Adapter/AstroPay/AstroPayTest.php
@@ -15,7 +15,9 @@
  * GNU General Public License for more details.
  *
  */
+
 use \Psr\Log\LogLevel;
+use Wikimedia\TestingAccessWrapper;
 
 /**
  *
diff --git a/tests/phpunit/Adapter/GatewayAdapterTest.php 
b/tests/phpunit/Adapter/GatewayAdapterTest.php
index ec58ebc..31181d4 100644
--- a/tests/phpunit/Adapter/GatewayAdapterTest.php
+++ b/tests/phpunit/Adapter/GatewayAdapterTest.php
@@ -16,6 +16,8 @@
  *
  */
 
+use Wikimedia\TestingAccessWrapper;
+
 /**
  * TODO: Test everything.
  * Make sure all the basic functions in the gateway_adapter are tested here.
diff --git 
a/tests/phpunit/Adapter/GlobalCollect/GlobalCollectOrphanAdapterTest.php 
b/tests/phpunit/Adapter/GlobalCollect/GlobalCollectOrphanAdapterTest.php
index 6682a87..64aa375 100644
--- a/tests/phpunit/Adapter/GlobalCollect/GlobalCollectOrphanAdapterTest.php
+++ b/tests/phpunit/Adapter/GlobalCollect/GlobalCollectOrphanAdapterTest.php
@@ -1,5 +1,4 @@
 <?php
-
 /**
  * Wikimedia Foundation
  *
@@ -16,7 +15,9 @@
  * GNU General Public License for more details.
  *
  */
+
 use Psr\Log\LogLevel;
+use Wikimedia\TestingAccessWrapper;
 
 /**
  *
diff --git a/tests/phpunit/Adapter/GlobalCollect/GlobalCollectTest.php 
b/tests/phpunit/Adapter/GlobalCollect/GlobalCollectTest.php
index 12dc77d..e445a30 100644
--- a/tests/phpunit/Adapter/GlobalCollect/GlobalCollectTest.php
+++ b/tests/phpunit/Adapter/GlobalCollect/GlobalCollectTest.php
@@ -15,7 +15,9 @@
  * GNU General Public License for more details.
  *
  */
+
 use Psr\Log\LogLevel;
+use Wikimedia\TestingAccessWrapper;
 
 /**
  *
diff --git a/tests/phpunit/DonationInterfaceTestCase.php 
b/tests/phpunit/DonationInterfaceTestCase.php
index 9a33ce1..41c53ff 100644
--- a/tests/phpunit/DonationInterfaceTestCase.php
+++ b/tests/phpunit/DonationInterfaceTestCase.php
@@ -15,8 +15,10 @@
  * GNU General Public License for more details.
  *
  */
+
 use Psr\Log\LogLevel;
 use SmashPig\Core\Context;
+use Wikimedia\TestingAccessWrapper;
 
 /**
  * @group              Fundraising
diff --git a/tests/phpunit/FraudFiltersTest.php 
b/tests/phpunit/FraudFiltersTest.php
index e0c35fc..a077053 100644
--- a/tests/phpunit/FraudFiltersTest.php
+++ b/tests/phpunit/FraudFiltersTest.php
@@ -16,6 +16,8 @@
  *
  */
 
+use Wikimedia\TestingAccessWrapper;
+
 /**
  * @group Fundraising
  * @group DonationInterface

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iab1a2d6ec361eb282378df8de5126005942a870f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Gergő Tisza <gti...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to