Description
I'm honestly know sure, if I'm misunderstanding something, doing it wrong or it a bug.
Lets say I have the entity setup from documentation. https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html#same-entities-used-in-these-docs
A post and a comment.
If I create factories with the bin/console make:factory --test Post
flag it complains that the CommentFactory
is not present and as if it should create it for me. If I said yes, it creates it's in the src/Factory
directory even if I use the --test
flag.
If it's already is created in tests/Facoty
is still complains that it's not present as it looks for it in src/Factory/CommentFactory.php
but when I answer yes to create if fails, as it's already created.
Is this something that I misunderstand from concept or is this a bug?
Thanks for your help.