According to Anomie, the idea behind this test is semi-broken, and would
benefit from T191231 being implemented first.
Bug: T195807
Change-Id: I9561fd0a82c37cf044e292e00499ecb611fcded6
public static $hasRun = false;
+ public function setUp() {
+ parent::setUp();
+ if ( $this->db->getType() == 'postgres' ) {
+ $this->markTestSkipped( __CLASS__ . ' does not support postgres' );
+ }
+ }
+
public function getSchemaOverrides( IMaintainableDatabase $db ) {
return [
'create' => [ 'MediaWikiTestCaseTestTable', 'imagelinks' ],
*/
class MediaWikiTestCaseSchema2Test extends MediaWikiTestCase {
+ public function setUp() {
+ parent::setUp();
+ if ( $this->db->getType() == 'postgres' ) {
+ $this->markTestSkipped( __CLASS__ . ' does not support postgres' );
+ }
+ }
+
public function testMediaWikiTestCaseSchemaTestOrder() {
// The first test must have run before this one
$this->assertTrue( MediaWikiTestCaseSchema1Test::$hasRun );