File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tests/DependencyInjection Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public function testCollectEnums(): void
40
40
$ compiler = $ this ->prophesize (ContainerBuilder::class);
41
41
$ compiler ->hasDefinition ('yokai_enum.enum_registry ' )->shouldBeCalled ()->willReturn (true );
42
42
$ compiler ->getDefinition ('yokai_enum.enum_registry ' )->shouldBeCalled ()->willReturn ($ registry );
43
- $ compiler ->findTaggedServiceIds ('enum ' )->shouldBeCalled ()->willReturn ([
43
+ $ compiler ->findTaggedServiceIds ('yokai_enum. enum ' )->shouldBeCalled ()->willReturn ([
44
44
'enum.gender ' => $ this ->prophesize (Definition::class)->reveal (),
45
45
'enum.type ' => $ this ->prophesize (Definition::class)->reveal (),
46
46
]);
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public function it_register_services(): void
38
38
39
39
$ autoconfigure = $ container ->getAutoconfiguredInstanceof ();
40
40
$ this ->assertArrayHasKey (EnumInterface::class, $ autoconfigure );
41
- $ this ->assertEquals (['enum ' => [[]]], $ autoconfigure [EnumInterface::class]->getTags ());
41
+ $ this ->assertEquals (['yokai_enum. enum ' => [[]]], $ autoconfigure [EnumInterface::class]->getTags ());
42
42
43
43
$ this ->assertTrue ($ container ->hasAlias (EnumRegistry::class));
44
44
}
You can’t perform that action at this time.
0 commit comments