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
26
26
public function testCollectWhenServiceNotAvailable (): void
27
27
{
28
28
$ compiler = $ this ->prophesize (ContainerBuilder::class);
29
- $ compiler ->hasDefinition ('enum.registry ' )->shouldBeCalled ()->willReturn (false );
29
+ $ compiler ->hasDefinition ('yokai_enum.enum_registry ' )->shouldBeCalled ()->willReturn (false );
30
30
31
31
$ this ->compiler ->process ($ compiler ->reveal ());
32
32
}
@@ -38,8 +38,8 @@ public function testCollectEnums(): void
38
38
$ registry ->addMethodCall ('add ' , [new Reference ('enum.type ' )])->shouldBeCalled ();
39
39
40
40
$ 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 );
43
43
$ compiler ->findTaggedServiceIds ('enum ' )->shouldBeCalled ()->willReturn ([
44
44
'enum.gender ' => $ this ->prophesize (Definition::class)->reveal (),
45
45
'enum.type ' => $ this ->prophesize (Definition::class)->reveal (),
You can’t perform that action at this time.
0 commit comments