diff --git a/tests/PgSqlIntegration/DatabasePopulateTest.php b/tests/PgSqlIntegration/DatabasePopulateTest.php index c86506b..8d93bfb 100644 --- a/tests/PgSqlIntegration/DatabasePopulateTest.php +++ b/tests/PgSqlIntegration/DatabasePopulateTest.php @@ -44,7 +44,7 @@ public function testLoadEmptyDump(): void /** @var PDO $pdo */ $pdo = $this->getModule('Db')->_getDbh(); - $tableNames = $pdo->query('SHOW TABLES')->fetchAll(PDO::FETCH_COLUMN); + $tableNames = $pdo->query('SELECT table_name FROM information_schema.tables WHERE table_schema=\'public\' AND table_type=\'BASE TABLE\'')->fetchAll(PDO::FETCH_COLUMN); $this->assertSame([], $tableNames); }