aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/integration/includes/Rest/Handler
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/integration/includes/Rest/Handler')
-rw-r--r--tests/phpunit/integration/includes/Rest/Handler/HTMLHandlerTestTrait.php2
-rw-r--r--tests/phpunit/integration/includes/Rest/Handler/ParsoidOutputAccessTest.php1
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/phpunit/integration/includes/Rest/Handler/HTMLHandlerTestTrait.php b/tests/phpunit/integration/includes/Rest/Handler/HTMLHandlerTestTrait.php
index 78f3164f4756..e244fdf0a374 100644
--- a/tests/phpunit/integration/includes/Rest/Handler/HTMLHandlerTestTrait.php
+++ b/tests/phpunit/integration/includes/Rest/Handler/HTMLHandlerTestTrait.php
@@ -4,8 +4,8 @@ namespace MediaWiki\Tests\Rest\Handler;
use Exception;
use HashBagOStuff;
-use IContextSource;
use MediaWiki\Block\BlockErrorFormatter;
+use MediaWiki\Context\IContextSource;
use MediaWiki\Edit\ParsoidOutputStash;
use MediaWiki\Edit\ParsoidRenderID;
use MediaWiki\Edit\SimpleParsoidOutputStash;
diff --git a/tests/phpunit/integration/includes/Rest/Handler/ParsoidOutputAccessTest.php b/tests/phpunit/integration/includes/Rest/Handler/ParsoidOutputAccessTest.php
index dcbf7e621abd..331f5f9d4657 100644
--- a/tests/phpunit/integration/includes/Rest/Handler/ParsoidOutputAccessTest.php
+++ b/tests/phpunit/integration/includes/Rest/Handler/ParsoidOutputAccessTest.php
@@ -3,6 +3,7 @@
use MediaWiki\Content\JavaScriptContent;
use MediaWiki\Edit\ParsoidRenderID;
use MediaWiki\Page\ParserOutputAccess;
+use MediaWiki\Parser\ParserOutput;
use MediaWiki\Parser\ParserOutputFlags;
use MediaWiki\Parser\Parsoid\PageBundleParserOutputConverter;
use MediaWiki\Parser\Parsoid\ParsoidOutputAccess;