dmaicher / doctrine-test-bundle

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

decorate original connection factory instead of just replacing it #30

Closed dmaicher closed 7 years ago

dmaicher commented 7 years ago

Recently when trying the bundle together with https://github.com/liuggio/fastest (which also registers its own connection factory class) we found some issues as we just replace the factory with StaticConnectionFactory instead of decorating the original factory. So it effectively breaks all usages of a custom connection factory.