From fa1394e1a785c541677b1e491ec0c0121d1e4e13 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Thu, 6 Dec 2012 17:57:37 +0100 Subject: [PATCH] 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 --- tests/phpunit/includes/db/DatabaseSQLTest.php | 1 + 1 file changed, 1 insertion(+) 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' ); -- 2.20.1