rdbms: make LoadBalancer::reallyOpenConnection() handle setting DBO_TRX
[lhc/web/wiklou.git] / tests / phpunit / includes / db / DatabasePostgresTest.php
index e0b8111..31a6343 100644 (file)
@@ -184,6 +184,8 @@ class DatabasePostgresTest extends MediaWikiTestCase {
         * @covers \Wikimedia\Rdbms\DatabasePostgres::getAttributes
         */
        public function testAttributes() {
-               $this->assertTrue( DatabasePostgres::getAttributes()[Database::ATTR_SCHEMAS_AS_TABLE_GROUPS] );
+               $this->assertTrue(
+                       Database::attributesFromType( 'postgres' )[Database::ATTR_SCHEMAS_AS_TABLE_GROUPS]
+               );
        }
 }