aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/parser
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/parser')
-rw-r--r--tests/phpunit/includes/parser/ParserCacheTest.php6
-rw-r--r--tests/phpunit/includes/parser/PreprocessorTest.php2
-rw-r--r--tests/phpunit/includes/parser/RevisionOutputCacheTest.php4
3 files changed, 6 insertions, 6 deletions
diff --git a/tests/phpunit/includes/parser/ParserCacheTest.php b/tests/phpunit/includes/parser/ParserCacheTest.php
index 0299f57b22eb..86b9a67f615d 100644
--- a/tests/phpunit/includes/parser/ParserCacheTest.php
+++ b/tests/phpunit/includes/parser/ParserCacheTest.php
@@ -2,10 +2,7 @@
namespace MediaWiki\Tests\Parser;
-use BagOStuff;
use CacheTime;
-use EmptyBagOStuff;
-use HashBagOStuff;
use InvalidArgumentException;
use MediaWiki\HookContainer\HookContainer;
use MediaWiki\Json\JsonCodec;
@@ -26,6 +23,9 @@ use Psr\Log\LoggerInterface;
use Psr\Log\LogLevel;
use Psr\Log\NullLogger;
use TestLogger;
+use Wikimedia\ObjectCache\BagOStuff;
+use Wikimedia\ObjectCache\EmptyBagOStuff;
+use Wikimedia\ObjectCache\HashBagOStuff;
use Wikimedia\Stats\StatsFactory;
use Wikimedia\TestingAccessWrapper;
use Wikimedia\UUID\GlobalIdGenerator;
diff --git a/tests/phpunit/includes/parser/PreprocessorTest.php b/tests/phpunit/includes/parser/PreprocessorTest.php
index 03e30776f013..9063ac15e118 100644
--- a/tests/phpunit/includes/parser/PreprocessorTest.php
+++ b/tests/phpunit/includes/parser/PreprocessorTest.php
@@ -2,7 +2,6 @@
namespace MediaWiki\Tests\Parser;
-use HashBagOStuff;
use MediaWiki\Parser\Parser;
use MediaWiki\User\User;
use MediaWikiIntegrationTestCase;
@@ -10,6 +9,7 @@ use ParserOptions;
use Preprocessor;
use Preprocessor_Hash;
use WANObjectCache;
+use Wikimedia\ObjectCache\HashBagOStuff;
/**
* @covers \Preprocessor
diff --git a/tests/phpunit/includes/parser/RevisionOutputCacheTest.php b/tests/phpunit/includes/parser/RevisionOutputCacheTest.php
index 97f551e93fd2..f2db02345c8e 100644
--- a/tests/phpunit/includes/parser/RevisionOutputCacheTest.php
+++ b/tests/phpunit/includes/parser/RevisionOutputCacheTest.php
@@ -2,8 +2,6 @@
namespace MediaWiki\Tests\Parser;
-use BagOStuff;
-use HashBagOStuff;
use InvalidArgumentException;
use MediaWiki\Json\JsonCodec;
use MediaWiki\Page\PageIdentity;
@@ -22,6 +20,8 @@ use Psr\Log\LogLevel;
use Psr\Log\NullLogger;
use TestLogger;
use WANObjectCache;
+use Wikimedia\ObjectCache\BagOStuff;
+use Wikimedia\ObjectCache\HashBagOStuff;
use Wikimedia\Stats\StatsFactory;
use Wikimedia\TestingAccessWrapper;
use Wikimedia\UUID\GlobalIdGenerator;