8000 fix expected autowiring exception message · symfony/symfony@50664cd · GitHub
[go: up one dir, main page]

Skip to content

Commit 50664cd

Browse files
committed
fix expected autowiring exception message
1 parent 0ddf1c9 commit 50664cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/DependencyInjection/Tests/Compiler/AutowirePassTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ public function testTypeNotGuessableIntersectionType()
295295
$pass = new AutowirePass();
296296

297297
$this->expectException(AutowiringFailedException::class);
298-
$this->expectExceptionMessage('Cannot autowire service "a": argument "$collision" of method "Symfony\Component\DependencyInjection\Tests\Compiler\IntersectionClasses::__construct()" has type "Symfony\Component\DependencyInjection\Tests\Compiler\CollisionInterface&Symfony\Component\DependencyInjection\Tests\Compiler\AnotherInterface" but this class was not found.');
298+
$this->expectExceptionMessage('Cannot autowire service "a": argument "$collision" of method "Symfony\Component\DependencyInjection\Tests\Compiler\IntersectionClasses::__construct()" has type "Symfony\Component\DependencyInjection\Tests\Compiler\AnotherInterface&Symfony\Component\DependencyInjection\Tests\Compiler\CollisionInterface" but this class was not found.');
299299
$pass->process($container);
300300
}
301301

0 commit comments

Comments
 (0)
0