aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/diff/DifferenceEngineTest.php
diff options
context:
space:
mode:
authorArthur Taylor <arthur.taylor@wikimedia.de>2024-04-30 09:45:39 +0200
committerArthur Taylor <arthur.taylor@wikimedia.de>2024-04-30 09:45:39 +0200
commit5ab72270e5dfd6f4b591cfcfc223e2a217db5ace (patch)
treedded2d872de5528204179a49145bbb9a8ce776b1 /tests/phpunit/includes/diff/DifferenceEngineTest.php
parent5293046f031b05ea4cf1e431091f277ea523882d (diff)
downloadmediawikicore-5ab72270e5dfd6f4b591cfcfc223e2a217db5ace.tar.gz
mediawikicore-5ab72270e5dfd6f4b591cfcfc223e2a217db5ace.zip
Make DifferenceEngineTest run standalone
When running in a CI / Quibble context, this test class was failing - it relies on other classes in the suite already having initialised OOUI. Explicitly enable OOUI in this test to avoid the failure mode. Bug: T363797 Change-Id: I63c65d32b32f6e47b2b1900e819b58b9bbfe30c3
Diffstat (limited to 'tests/phpunit/includes/diff/DifferenceEngineTest.php')
-rw-r--r--tests/phpunit/includes/diff/DifferenceEngineTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/phpunit/includes/diff/DifferenceEngineTest.php b/tests/phpunit/includes/diff/DifferenceEngineTest.php
index 0e6fc35e9fb0..559e90f26a06 100644
--- a/tests/phpunit/includes/diff/DifferenceEngineTest.php
+++ b/tests/phpunit/includes/diff/DifferenceEngineTest.php
@@ -592,6 +592,7 @@ class DifferenceEngineTest extends MediaWikiIntegrationTestCase {
$context->setLanguage( 'qqx' );
$out = new OutputPage( $context );
+ $out->enableOOUI();
$context->setOutput( $out );
$engine = new DifferenceEngine(