mediawiki-extensions-Scribunto/tests/engines/LuaCommon/UriLibraryTest.php
Thiemo Mättig 61af67b819 Fix visibility of setUp/tearDown
Required for Idf44d31.

Change-Id: If6d270549290bed2d1c7617da0fedbd385f3e96c
2014-11-12 12:28:58 +01:00

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',
);
}
}