MediaWiki REL1_34
UriLibraryTest.php
Go to the documentation of this file.
1<?php
2
4 protected static $moduleName = 'UriLibraryTests';
5
6 protected function setUp() {
7 parent::setUp();
8
9 $this->setMwGlobals( [
10 'wgServer' => '//wiki.local',
11 'wgCanonicalServer' => 'http://wiki.local',
12 'wgUsePathInfo' => true,
13 'wgActionPaths' => [],
14 'wgScript' => '/w/index.php',
15 'wgScriptPath' => '/w',
16 'wgArticlePath' => '/wiki/$1',
17 ] );
18 }
19
20 protected function getTestModules() {
21 return parent::getTestModules() + [
22 'UriLibraryTests' => __DIR__ . '/UriLibraryTests.lua',
23 ];
24 }
25}
This is the subclass for Lua library tests.