Skip to content

Commit

Permalink
test: update PHPUnit error message for PHPUnit10
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Oct 21, 2023
1 parent 54e6c4d commit 7741c0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/system/Validation/ValidationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1546,7 +1546,7 @@ 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}]\' does not contain "{id}".');
$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}]');

Expand Down

0 comments on commit 7741c0c

Please sign in to comment.