Skip to content

Commit

Permalink
Revert "Fix test"
Browse files Browse the repository at this point in the history
This reverts commit c827db8.
  • Loading branch information
Tigrov committed Feb 1, 2024
1 parent c827db8 commit 84dc3de
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());
$schema = new Schema($db, DbHelper::getSchemaCache(), 'system');

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

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

0 comments on commit 84dc3de

Please sign in to comment.