mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-29 18:44:21 +00:00
61af67b819
Required for Idf44d31. Change-Id: If6d270549290bed2d1c7617da0fedbd385f3e96c
26 lines
606 B
PHP
26 lines
606 B
PHP
<?php
|
|
|
|
class Scribunto_LuaUriLibraryTests extends Scribunto_LuaEngineTestBase {
|
|
protected static $moduleName = 'UriLibraryTests';
|
|
|
|
protected function setUp() {
|
|
parent::setUp();
|
|
|
|
$this->setMwGlobals( array(
|
|
'wgServer' => '//wiki.local',
|
|
'wgCanonicalServer' => 'http://wiki.local',
|
|
'wgUsePathInfo' => true,
|
|
'wgActionPaths' => array(),
|
|
'wgScript' => '/w/index.php',
|
|
'wgScriptPath' => '/w',
|
|
'wgArticlePath' => '/wiki/$1',
|
|
) );
|
|
}
|
|
|
|
protected function getTestModules() {
|
|
return parent::getTestModules() + array(
|
|
'UriLibraryTests' => __DIR__ . '/UriLibraryTests.lua',
|
|
);
|
|
}
|
|
}
|