Skip to content

Commit 5132f0d

Browse files
committed
Stop using $message argument
It brings nothing over what PHPUnit now natively does.
1 parent fe8e313 commit 5132f0d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/Doctrine/Tests/ORM/Query/SelectSqlGenerationTest.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232

3333
use function class_exists;
3434
use function get_class;
35-
use function sprintf;
3635

3736
// DBAL 2 compatibility
3837
class_exists('Doctrine\DBAL\Platforms\MySqlPlatform');
@@ -74,8 +73,7 @@ public function assertSqlGeneration(
7473

7574
parent::assertEquals(
7675
$sqlToBeConfirmed,
77-
$sqlGenerated,
78-
sprintf('"%s" is not equal to "%s"', $sqlGenerated, $sqlToBeConfirmed)
76+
$sqlGenerated
7977
);
8078

8179
$query->free();

0 commit comments

Comments
 (0)