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

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

Switch TestingAccessWrapper to librarized version

Change-Id: I498be3ceb219a8cf1cad88d5a510302a3510b70f
---
M composer.json
M tests/phpunit/CentralAuthPreAuthManagerHooksUsingDatabaseTest.php
M tests/phpunit/CentralAuthUserTest.php
3 files changed, 7 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth 
refs/changes/94/349094/1

diff --git a/composer.json b/composer.json
index 1c63f9e..7ab41de 100644
--- a/composer.json
+++ b/composer.json
@@ -1,6 +1,7 @@
 {
        "require-dev": {
-               "jakub-onderka/php-parallel-lint": "0.9.2"
+               "jakub-onderka/php-parallel-lint": "0.9.2",
+               "wikimedia/testing-access-wrapper": "~1.0"
        },
        "scripts": {
                "test": [
diff --git a/tests/phpunit/CentralAuthPreAuthManagerHooksUsingDatabaseTest.php 
b/tests/phpunit/CentralAuthPreAuthManagerHooksUsingDatabaseTest.php
index a06ebb7..2fc2cca 100644
--- a/tests/phpunit/CentralAuthPreAuthManagerHooksUsingDatabaseTest.php
+++ b/tests/phpunit/CentralAuthPreAuthManagerHooksUsingDatabaseTest.php
@@ -1,4 +1,7 @@
 <?php
+
+use Wikimedia\TestingAccessWrapper;
+
 /**
  * Basic tests for CentralAuthPreAuthManagerHooks
  * @group CentralAuthDB
diff --git a/tests/phpunit/CentralAuthUserTest.php 
b/tests/phpunit/CentralAuthUserTest.php
index c5be3b1..bd5bc5a 100644
--- a/tests/phpunit/CentralAuthUserTest.php
+++ b/tests/phpunit/CentralAuthUserTest.php
@@ -1,5 +1,7 @@
 <?php
 
+use Wikimedia\TestingAccessWrapper;
+
 /**
  * Only for tests that do not require the database to be
  * set up.

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I498be3ceb219a8cf1cad88d5a510302a3510b70f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
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