diff --git a/tests/SchemaTest.php b/tests/SchemaTest.php index 2a171127..e15c3f1b 100644 --- a/tests/SchemaTest.php +++ b/tests/SchemaTest.php @@ -352,11 +352,11 @@ public function testWorkWithPrimaryKeyConstraint(): void public function testNotConnectionPDO(): void { $db = $this->createMock(ConnectionInterface::class); - $schema = new Schema($db, DbHelper::getSchemaCache()); + $schema = new Schema($db, DbHelper::getSchemaCache(), 'system'); $this->expectException(NotSupportedException::class); $this->expectExceptionMessage('Only PDO connections are supported.'); - $schema->refresh(); + $schema->refreshTableSchema('customer'); } }