zenstruck / foundry

A model factory library for creating expressive, auto-completable, on-demand dev/test fixtures with Symfony and Doctrine.
https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html
MIT License
607 stars 62 forks source link

docs: kernel must be shutdown sometimes #636

Closed matthieumota closed 1 week ago

matthieumota commented 1 week ago

I begin to use Foundry on a new project.

Follow the docs to write a first tests and we can't create client after boot kernel (Kernel is boot by Trait Factories).

We need to ensure kernel is shutdown or create client before call factory.

nikophil commented 1 week ago

That's right!

thanks @matthieumota