From 604e24f6be0e712a2a89934795049423c6855dfe Mon Sep 17 00:00:00 2001 From: Jdlrobson Date: Wed, 16 Jun 2021 00:23:50 +0000 Subject: [PATCH] Partial Revert "Update tests for default Menu template value" This partially reverts commit 0fc7be61c1afee8dd2aa5d7daccc4efc6006024d. Reason for revert: was temporary change Change-Id: Iad87da825e44a7d3a64b85dc314d8eb27d95b7a6 --- tests/phpunit/integration/SkinVectorTest.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/tests/phpunit/integration/SkinVectorTest.php b/tests/phpunit/integration/SkinVectorTest.php index 8db350b..f70f523 100644 --- a/tests/phpunit/integration/SkinVectorTest.php +++ b/tests/phpunit/integration/SkinVectorTest.php @@ -80,11 +80,6 @@ class SkinVectorTest extends MediaWikiIntegrationTestCase { $views = $props['data-views']; $namespaces = $props['data-namespaces']; - // Can be removed when https://gerrit.wikimedia.org/r/c/mediawiki/core/+/699446 is merged. - if ( !array_key_exists( 'html-before-portal', $views ) ) { - $views = wfArrayInsertAfter( $views, [ 'html-before-portal' => '' ], 'html-after-portal' ); - } - $this->assertSame( [ // Provided by core @@ -98,9 +93,7 @@ class SkinVectorTest extends MediaWikiIntegrationTestCase { 'heading-class' => 'vector-menu-heading', 'is-dropdown' => false, ], - $views, - 0, - true + $views ); $variants = $props['data-variants'];