Partial Revert "Update tests for default Menu template value"

This partially reverts commit 0fc7be61c1.

Reason for revert: was temporary change

Change-Id: Iad87da825e44a7d3a64b85dc314d8eb27d95b7a6
This commit is contained in:
Jdlrobson 2021-06-16 00:23:50 +00:00
parent 0fc7be61c1
commit 604e24f6be
1 changed files with 1 additions and 8 deletions

View File

@ -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'];