dmaicher / doctrine-test-bundle

Symfony bundle to isolate your app's doctrine database tests and improve the test performance
MIT License
1.08k stars 60 forks source link

allow config to live at config/packages instead of config/packages/test #219

Closed arderyp closed 2 years ago

arderyp commented 2 years ago

I tried to move the config file and manually update symfony.lock to point to the proper path, but it went belly up.

as of Symfony 5.4 and 6, the new config standard seems to have replaced the dev/ test/ prod/ sub-directories with more convenient when@dev when@test when@prod properties in a singular config file.

dmaicher commented 2 years ago

This should work just fine. See https://github.com/symfony/demo/blob/main/config/packages/dama_doctrine_test_bundle.yaml

arderyp commented 2 years ago

I'm an idiot, I forgot the when@test! Thank you for the quick response :)