mediawiki-extensions-Scribunto/tests/phpunit/engines/LuaCommon/SiteLibraryTest.php
Amir Sarabadani 248dcae392 Split LuaEngineTestBase to LuaEngineUnitTestBase and LuaEngineTestBase
And use the unit test base on most of the tests, except the ones that need
database. This makes tests considerably faster.

Bug: T230701
Change-Id: Ifbede1e2610c672b4d8a83ce41f74200e0c97be9
2019-08-31 10:51:26 +02:00

12 lines
284 B
PHP

<?php
class Scribunto_LuaSiteLibraryTest extends Scribunto_LuaEngineUnitTestBase {
protected static $moduleName = 'SiteLibraryTests';
protected function getTestModules() {
return parent::getTestModules() + [
'SiteLibraryTests' => __DIR__ . '/SiteLibraryTests.lua',
];
}
}