Make sure to call parent::setUp()

Change-Id: I9da9bbf803ee37d48b954e2e82407fae4dfe464c
This commit is contained in:
Chad Horohoe 2012-12-20 11:36:48 -05:00
parent e7c930256d
commit 590d40e145
2 changed files with 2 additions and 0 deletions

View file

@ -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 ) {

View file

@ -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 ) {