diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 5398501c6e..2eb699536a 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -16655,11 +16655,6 @@ parameters: count: 1 path: tests/unit/Table/TableTest.php - - - message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'PhpMyAdmin\\\\\\\\Table\\\\\\\\Table' and PhpMyAdmin\\\\Table\\\\Table will always evaluate to true\\.$#" - count: 1 - path: tests/unit/Table/TableTest.php - - message: "#^Cannot access offset 'SCHEMA_TABLES' on mixed\\.$#" count: 1 diff --git a/tests/unit/Table/TableTest.php b/tests/unit/Table/TableTest.php index f701089350..22c689e28d 100644 --- a/tests/unit/Table/TableTest.php +++ b/tests/unit/Table/TableTest.php @@ -284,15 +284,6 @@ class TableTest extends AbstractTestCase DatabaseInterface::$instance = null; } - /** - * Test object creating - */ - public function testCreate(): void - { - $table = new Table('table1', 'pma_test', $this->mockedDbi); - self::assertInstanceOf(Table::class, $table); - } - /** * Test for constructor */