Set $wgFragmentMode for UriLibraryTest

It affects the behavior of mw.uri.anchorEncode()

Change-Id: I3a704507cda79a2a48ec58ce9b7500667ea0dda3
This commit is contained in:
Brad Jorsch 2020-01-02 14:51:11 -05:00
parent ef8aff71ec
commit 8a8e51d8c7

View file

@ -14,6 +14,7 @@ class Scribunto_LuaUriLibraryTest extends Scribunto_LuaEngineTestBase {
'wgScript' => '/w/index.php', 'wgScript' => '/w/index.php',
'wgScriptPath' => '/w', 'wgScriptPath' => '/w',
'wgArticlePath' => '/wiki/$1', 'wgArticlePath' => '/wiki/$1',
'wgFragmentMode' => [ 'legacy', 'html5' ],
] ); ] );
} }