Kevin Bond
                                            Kevin Bond
                                        
                                    I think this looks like you want to _mock a service_. My first thought is to check out https://github.com/Happyr/service-mocking which helps with this. I've only used with phpunit but think...
I'm not 100% sure about the kernel/container with behat. I just know that setting/maintaining container state in tests/between requests can be troublesome in general. `happyr/service-mocking` mocking is a solution for...
Thanks for working on this. Don't worry about the CS issues - I can fix before merging. Let me know if you need help with the test suite - it's...
Unfortunately, I don't have docker experience. I run everything locally. I was going to suggest doing what you did but am unsure why you're getting that error. Any more context?...
For the test event subscriber: try having it implement `Doctrine\Bundle\DoctrineBundle\EventSubscriber\EventSubscriberInterface`. It doesn't look like `Doctrine\Common\EventSubscriber` can be autowired.
Regarding running the tests locally, could https://github.com/nektos/act help? I haven't used it myself but see it referenced quite a bit.
Great to hear. I'd like to make the test suite easier to run for contributors. Is there anything you can share that could help? Are there other/bundles libraries you know...
Just an idea but what do you think of this API: ```php Factory::withoutDoctrineEvents(function() { PostFactory::createOne(); // events disabled PostFactory::createOne(); // events disabled }); PostFactory::createOne(); // events enabled ``` Can't disable...
> I feel like it is same as withoutPersisting functionality, and different way to use them will loose a little the user FYI, `withoutPersisting` is "passed" down to sub-factory's. >...
> In this way, if the user want all the process to be without events he can do it (he explicite withoutDoctrineEvents on all factory). But if we force all...