mediawiki-extensions-Scribunto/tests/phpunit/engines/LuaCommon/HashLibraryTest.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

13 lines
285 B
PHP

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