mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-09-23 18:30:32 +00:00
Make sure to call parent::setUp()
Change-Id: I9da9bbf803ee37d48b954e2e82407fae4dfe464c
This commit is contained in:
parent
e7c930256d
commit
590d40e145
|
@ -5,6 +5,7 @@ abstract class Scribunto_LuaEngineTest extends MediaWikiTestCase {
|
|||
abstract function newEngine( $opts = array() );
|
||||
|
||||
function setUp() {
|
||||
parent::setUp();
|
||||
try {
|
||||
$this->getEngine()->getInterpreter();
|
||||
} catch ( Scribunto_LuaInterpreterNotFoundError $e ) {
|
||||
|
|
|
@ -4,6 +4,7 @@ abstract class Scribunto_LuaInterpreterTest extends MediaWikiTestCase {
|
|||
abstract function newInterpreter( $opts = array() );
|
||||
|
||||
function setUp() {
|
||||
parent::setUp();
|
||||
try {
|
||||
$this->newInterpreter();
|
||||
} catch ( Scribunto_LuaInterpreterNotFoundError $e ) {
|
||||
|
|
Loading…
Reference in a new issue