Skip to content

Commit e327cef

Browse files
committed
[TwigComponent][Tests] Adjust expected exception message for testAccessingTheHierarchyTooHighThrowsAnException
1 parent fb93761 commit e327cef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TwigComponent/tests/Integration/EmbeddedComponentTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public function testAccessingTheHierarchyTooHighThrowsAnException(): void
162162
{
163163
// Twig renamed "array" into "sequence" in 3.11
164164
$this->expectExceptionMessage('Key "$this" for ');
165-
$this->expectExceptionMessage('with keys "app, __embedded" does not exist.');
165+
$this->expectExceptionMessage('with keys "app, __embedded" does not exist');
166166
self::render('embedded_component_hierarchy_exception.html.twig');
167167
}
168168

0 commit comments

Comments
 (0)