Skip to content

Commit 6052a33

Browse files
committed
fix: satisfy rector
Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>
1 parent d8f1d23 commit 6052a33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/system/Database/ConstraintViolationExceptionTest.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function testCreatesConstraintViolationExceptions(
5454
): void {
5555
$exception = $db->createDatabaseException($message, $code);
5656

57-
$this->assertSame($expectedException, $exception::class);
57+
$this->assertSame($exception::class, $expectedException);
5858
$this->assertInstanceOf(ConstraintViolationException::class, $exception);
5959
$this->assertSame($code, $exception->getDatabaseCode());
6060
}

0 commit comments

Comments
 (0)