Skip to content

Commit

Permalink
test: Fix assertion
Browse files Browse the repository at this point in the history
Co-authored-by: homersimpsons <[email protected]>
  • Loading branch information
aszenz and homersimpsons committed Feb 1, 2024
1 parent 3da0413 commit 263de74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/SchemaAnalyzerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,8 @@ public function testWringTableName()
$schemaManager = $this->getCompleteSchemaManager();

$schemaAnalyzer = new SchemaAnalyzer($schemaManager);
$this->expectException(SchemaAnalyzerTableNotFoundException::class, "Could not find table 'rights'. Did you mean 'right'?");
$this->expectException(SchemaAnalyzerTableNotFoundException::class);
$this->expectExceptionMessage("Could not find table 'rights'. Did you mean 'right'?");
$junctionTables = $schemaAnalyzer->getShortestPath('role', 'rights');
}
}

0 comments on commit 263de74

Please sign in to comment.