Current File : /home/jvzmxxx/wiki1/extensions/Scribunto/tests/engines/LuaCommon/UriLibraryTest.php
<?php

// @codingStandardsIgnoreLine Squiz.Classes.ValidClassName.NotCamelCaps
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',
		);
	}
}