aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/api/ApiMessageTest.php
diff options
context:
space:
mode:
authorGergő Tisza <gtisza@wikimedia.org>2017-04-19 19:37:35 +0000
committerGergő Tisza <gtisza@wikimedia.org>2017-04-20 14:15:57 +0000
commit525bfbc8df855aa12e01868d92532cd64482dc7d (patch)
treed21f1ef446c1057ddb7979a81f41709e164a33db /tests/phpunit/includes/api/ApiMessageTest.php
parent8d4cda3ce5cf4b287877ea6f847a31c8ed7d83d8 (diff)
downloadmediawikicore-525bfbc8df855aa12e01868d92532cd64482dc7d.tar.gz
mediawikicore-525bfbc8df855aa12e01868d92532cd64482dc7d.zip
Switch to librarized version of TestingAccessWrapper
Replaces \TestingAccessWrapper (defined in core) with \Wikimedia\TestingAccessWrapper (defined in the composer package wikimedia/testing-access-wrapper). See https://gerrit.wikimedia.org/r/#/q/topic:librarize-testing-access-wrapper for downstream patches. The core version of the class is kept around for a while to avoid circular dependency problems. Bug: T163434 Change-Id: I52cc257e593da3d6c3b01a909e554a950225aec8
Diffstat (limited to 'tests/phpunit/includes/api/ApiMessageTest.php')
-rw-r--r--tests/phpunit/includes/api/ApiMessageTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/phpunit/includes/api/ApiMessageTest.php b/tests/phpunit/includes/api/ApiMessageTest.php
index e405b3b89592..c6f5a8e791f8 100644
--- a/tests/phpunit/includes/api/ApiMessageTest.php
+++ b/tests/phpunit/includes/api/ApiMessageTest.php
@@ -1,5 +1,7 @@
<?php
+use Wikimedia\TestingAccessWrapper;
+
/**
* @group API
*/