Skip to content

Commit fb93761

Browse files
committed
[TwigComponent][Tests] Adjust expected exception message for testComponentWithConflictBetweenPropsFromTemplateAndClass
1 parent 40b0a0a commit fb93761

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TwigComponent/tests/Integration/ComponentExtensionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ public function testComponentWithPropsFromTemplateAndClass(): void
425425
public function testComponentWithConflictBetweenPropsFromTemplateAndClass(): void
426426
{
427427
$this->expectException(RuntimeError::class);
428-
$this->expectExceptionMessage('Cannot define prop "name" in template "components/Conflict.html.twig". Property already defined in component class "Symfony\UX\TwigComponent\Tests\Fixtures\Component\Conflict".');
428+
$this->expectExceptionMessage('Cannot define prop "name" in template "components/Conflict.html.twig". Property already defined in component class "Symfony\UX\TwigComponent\Tests\Fixtures\Component\Conflict"');
429429

430430
self::getContainer()->get(Environment::class)->render('component_with_conflict_between_props_from_template_and_class.html.twig');
431431
}

0 commit comments

Comments
 (0)