From: umherirrender Date: Thu, 6 Dec 2012 16:57:37 +0000 (+0100) Subject: Add parent::setUp() to DatabaseSQLTest X-Git-Tag: 1.31.0-rc.0~21407 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=fa1394e1a785c541677b1e491ec0c0121d1e4e13;p=lhc%2Fweb%2Fwiklou.git Add parent::setUp() to DatabaseSQLTest 1) DatabaseSQLTest::testMediaWikiTestCaseParentSetupCalled DatabaseSQLTest::setUp() must call parent::setUp() Failed asserting that an array has the key 'setUp'. Change-Id: I6aa5cb09999e0cee9b36fedd9193cb5aa08914ad --- diff --git a/tests/phpunit/includes/db/DatabaseSQLTest.php b/tests/phpunit/includes/db/DatabaseSQLTest.php index 0c9f7495a7..51127f85f8 100644 --- a/tests/phpunit/includes/db/DatabaseSQLTest.php +++ b/tests/phpunit/includes/db/DatabaseSQLTest.php @@ -9,6 +9,7 @@ class DatabaseSQLTest extends MediaWikiTestCase { protected function setUp() { + parent::setUp(); // TODO support other DBMS or find another way to do it if ( $this->db->getType() !== 'mysql' ) { $this->markTestSkipped( 'No mysql database' );