jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/349092 )
Change subject: Switch TestingAccessWrapper to librarized version
..
Switch TestingAccessWrapper to librarized version
Bug: T163434
Change-Id: Iab1a2d6ec361eb282378df8de5126005942a870f
---
M composer.json
M composer.lock
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
9 files changed, 69 insertions(+), 5 deletions(-)
Approvals:
jenkins-bot: Verified
Ejegg: Looks good to me, approved
diff --git a/composer.json b/composer.json
index 21e4495..b0c1d68 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/composer.lock b/composer.lock
index ace867d..828001b 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at
https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file;,
"This file is @generated automatically"
],
-"content-hash": "c77aa55a881981c2f2170a5894371bc0",
+"content-hash": "22b27fd4e340d42c6a3b461f7f1fd7a6",
"packages": [
{
"name": "addshore/psr-6-mediawiki-bagostuff-adapter",
@@ -198,7 +198,7 @@
"queue",
"transaction"
],
-"time": "2017-04-17 14:11:55"
+"time": "2017-04-17T14:11:55+00:00"
},
{
"name": "corneltek/getoptionkit",
@@ -1037,7 +1037,7 @@
"donations",
"payments"
],
-"time": "2017-05-19 17:03:40"
+"time": "2017-05-19T17:03:40+00:00"
},
{
"name": "zordius/lightncandy",
@@ -1134,6 +1134,56 @@
"description": "This tool check syntax of PHP files about 20x
faster than serial check.",
"homepage": "https://github.com/JakubOnderka/PHP-Parallel-Lint;,
"time": "2015-12-15T10:42:16+00:00"
+},
+{
+"name": "wikimedia/testing-access-wrapper",
+"version": "1.0.0",
+"source": {
+"type": "git",
+"url":
"https://github.com/wikimedia/testing-access-wrapper.git;,
+"reference": "e18b87c86739733506bd184a70852c30cdb30699"
+},
+"dist": {
+"type": "zip",
+"url":
"https://api.github.com/repos/wikimedia/testing-access-wrapper/zipball/e18b87c86739733506bd184a70852c30cdb30699;,
+"reference": "e18b87c86739733506bd184a70852c30cdb30699",
+"shasum": ""
+},
+"require": {
+"php": ">=5.3.0"
+},
+"require-dev": {
+"jakub-onderka/php-parallel-lint": "0.9.2",
+"mediawiki/mediawiki-codesniffer": "0.7.2",
+"phpunit/phpunit": "4.8.31"
+},
+"type": "library",
+"autoload": {
+"classmap": [
+"src/"
+]
+},
+"notification-url": "https://packagist.org/downloads/;,
+"license": [
+"GPL-2.0+"
+],
+"authors": [
+{
+"name": "Adam Roses Wight",
+"email": "awi...@wikimedia.org"
+},
+{
+"name": "Brad Jorsch",
+"email": "bjor...@wikimedia.org"
+},
+{
+"name": "Gergő Tisza",
+"email": "gti...@wikimedia.org"
+}
+],
+"description": "A simple helper class to access non-public
elements of a class when testing.",
+"homepage":
"https://www.mediawiki.org/wiki/Testing-access-wrapper;,
+"time": "2017-04-19T16:43:33+00:00"
}
],
"aliases": [],
diff --git a/tests/phpunit/Adapter/Adyen/AdyenTest.php
b/tests/phpunit/Adapter/Adyen/AdyenTest.php
index d13be4f..ef39dce 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