Skip to content

Commit 0373073

Browse files
committed
test: update PHPUnit error message for PHPUnit10
1 parent d16df45 commit 0373073

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/system/Validation/ValidationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1546,7 +1546,7 @@ public function testPlaceholderReplacementTestFails(): void
15461546
{
15471547
// to test if placeholderReplacementResultDetermination() works we provoke and expect an exception
15481548
$this->expectException(ExpectationFailedException::class);
1549-
$this->expectExceptionMessage('Failed asserting that \'filter[{id}]\' does not contain "{id}".');
1549+
$this->expectExceptionMessage('Failed asserting that \'filter[{id}]\' [ASCII](length: 12) does not contain "{id}" [ASCII](length: 4).');
15501550

15511551
$this->validation->setRule('foo', 'foo-label', 'required|filter[{id}]');
15521552

0 commit comments

Comments
 (0)