mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-09-25 03:09:24 +00:00
Merge "Partial Revert "Update tests for default Menu template value""
This commit is contained in:
commit
bea07a11c6
|
@ -80,11 +80,6 @@ class SkinVectorTest extends MediaWikiIntegrationTestCase {
|
||||||
$views = $props['data-views'];
|
$views = $props['data-views'];
|
||||||
$namespaces = $props['data-namespaces'];
|
$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(
|
$this->assertSame(
|
||||||
[
|
[
|
||||||
// Provided by core
|
// Provided by core
|
||||||
|
@ -98,9 +93,7 @@ class SkinVectorTest extends MediaWikiIntegrationTestCase {
|
||||||
'heading-class' => 'vector-menu-heading',
|
'heading-class' => 'vector-menu-heading',
|
||||||
'is-dropdown' => false,
|
'is-dropdown' => false,
|
||||||
],
|
],
|
||||||
$views,
|
$views
|
||||||
0,
|
|
||||||
true
|
|
||||||
);
|
);
|
||||||
|
|
||||||
$variants = $props['data-variants'];
|
$variants = $props['data-variants'];
|
||||||
|
|
Loading…
Reference in a new issue