resourceloader: Don't explicitly enqueue test libs on SpecialJavaScriptTest
[lhc/web/wiklou.git] / tests / phpunit / tests / MediaWikiTestCaseSchema1Test.php
index aebd0bf..7af8dee 100644 (file)
@@ -1,4 +1,5 @@
 <?php
+
 use Wikimedia\Rdbms\IMaintainableDatabase;
 
 /**
@@ -13,9 +14,8 @@ class MediaWikiTestCaseSchema1Test extends MediaWikiTestCase {
 
        public function setUp() {
                parent::setUp();
-               if ( $this->db->getType() == 'postgres' ) {
-                       $this->markTestSkipped( __CLASS__ . ' does not support postgres' );
-               }
+               // FIXME: fails under postgres
+               $this->markTestSkippedIfDbType( 'postgres' );
        }
 
        public function getSchemaOverrides( IMaintainableDatabase $db ) {