From 7741c0c93918edc48ca1603039672f74727a838e Mon Sep 17 00:00:00 2001 From: kenjis Date: Sat, 21 Oct 2023 11:41:12 +0900 Subject: [PATCH] test: update PHPUnit error message for PHPUnit10 --- tests/system/Validation/ValidationTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system/Validation/ValidationTest.php b/tests/system/Validation/ValidationTest.php index f7a91b1bdf49..2409083c2f8a 100644 --- a/tests/system/Validation/ValidationTest.php +++ b/tests/system/Validation/ValidationTest.php @@ -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}]');