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
4040 $ compiler = $ this ->prophesize (ContainerBuilder::class);
4141 $ compiler ->hasDefinition ('yokai_enum.enum_registry ' )->shouldBeCalled ()->willReturn (true );
4242 $ compiler ->getDefinition ('yokai_enum.enum_registry ' )->shouldBeCalled ()->willReturn ($ registry );
43- $ compiler ->findTaggedServiceIds ('enum ' )->shouldBeCalled ()->willReturn ([
43+ $ compiler ->findTaggedServiceIds ('yokai_enum. enum ' )->shouldBeCalled ()->willReturn ([
4444 'enum.gender ' => $ this ->prophesize (Definition::class)->reveal (),
4545 'enum.type ' => $ this ->prophesize (Definition::class)->reveal (),
4646 ]);
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public function it_register_services(): void
3838
3939 $ autoconfigure = $ container ->getAutoconfiguredInstanceof ();
4040 $ this ->assertArrayHasKey (EnumInterface::class, $ autoconfigure );
41- $ this ->assertEquals (['enum ' => [[]]], $ autoconfigure [EnumInterface::class]->getTags ());
41+ $ this ->assertEquals (['yokai_enum. enum ' => [[]]], $ autoconfigure [EnumInterface::class]->getTags ());
4242
4343 $ this ->assertTrue ($ container ->hasAlias (EnumRegistry::class));
4444 }
You can’t perform that action at this time.
0 commit comments