diff --git a/tests/system/Validation/ValidationTest.php b/tests/system/Validation/ValidationTest.php index 2409083c2f8a..0d5a5c107575 100644 --- a/tests/system/Validation/ValidationTest.php +++ b/tests/system/Validation/ValidationTest.php @@ -1546,7 +1546,9 @@ public function testPlaceholderReplacementTestFails(): void { // to test if placeholderReplacementResultDetermination() works we provoke and expect an exception $this->expectException(ExpectationFailedException::class); - $this->expectExceptionMessage('Failed asserting that \'filter[{id}]\' [ASCII](length: 12) does not contain "{id}" [ASCII](length: 4).'); + $this->expectExceptionMessage( + 'Failed asserting that \'filter[{id}]\' [ASCII](length: 12) does not contain "{id}" [ASCII](length: 4).' + ); $this->validation->setRule('foo', 'foo-label', 'required|filter[{id}]');