Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Feb 1, 2024
1 parent c0d1fbd commit 58545a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/SchemaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -352,11 +352,11 @@ public function testWorkWithPrimaryKeyConstraint(): void
public function testNotConnectionPDO(): void
{
$db = $this->createMock(ConnectionInterface::class);
$schema = new Schema($db, DbHelper::getSchemaCache(), 'system');
$schema = new Schema($db, DbHelper::getSchemaCache());

$this->expectException(NotSupportedException::class);
$this->expectExceptionMessage('Only PDO connections are supported.');

$schema->refreshTableSchema('customer');
$schema->refresh();
}
}

0 comments on commit 58545a6

Please sign in to comment.