File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tests/DependencyInjection/CompilerPass Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ protected function setUp(): void
2626 public function testCollectWhenServiceNotAvailable (): void
2727 {
2828 $ compiler = $ this ->prophesize (ContainerBuilder::class);
29- $ compiler ->hasDefinition ('enum.registry ' )->shouldBeCalled ()->willReturn (false );
29+ $ compiler ->hasDefinition ('yokai_enum.enum_registry ' )->shouldBeCalled ()->willReturn (false );
3030
3131 $ this ->compiler ->process ($ compiler ->reveal ());
3232 }
@@ -38,8 +38,8 @@ public function testCollectEnums(): void
3838 $ registry ->addMethodCall ('add ' , [new Reference ('enum.type ' )])->shouldBeCalled ();
3939
4040 $ compiler = $ this ->prophesize (ContainerBuilder::class);
41- $ compiler ->hasDefinition ('enum.registry ' )->shouldBeCalled ()->willReturn (true );
42- $ compiler ->getDefinition ('enum.registry ' )->shouldBeCalled ()->willReturn ($ registry );
41+ $ compiler ->hasDefinition ('yokai_enum.enum_registry ' )->shouldBeCalled ()->willReturn (true );
42+ $ compiler ->getDefinition ('yokai_enum.enum_registry ' )->shouldBeCalled ()->willReturn ($ registry );
4343 $ compiler ->findTaggedServiceIds ('enum ' )->shouldBeCalled ()->willReturn ([
4444 'enum.gender ' => $ this ->prophesize (Definition::class)->reveal (),
4545 'enum.type ' => $ this ->prophesize (Definition::class)->reveal (),
You can’t perform that action at this time.
0 commit comments