See https://gerrit.wikimedia.org/r/#/c/274643/8/tests/phpunit/MediaWikiTestCase.php
I unintentionally changed it so dbSetup wasn't always set to true
(it was in the early return case in the old code, but not the new)
Bug: T95870
Change-Id: I2119b0233330b88a61d15fe4dc55fe855fce4b6a
return;
}
+ self::$dbSetup = true;
+
if ( !self::setupDatabaseWithTestPrefix( $db, $prefix ) ) {
return;
}
if ( $db->getType() == 'oracle' ) {
$db->query( 'BEGIN FILL_WIKI_INFO; END;' );
}
-
- self::$dbSetup = true;
}
/**