mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-01 02:03:22 +00:00
If a feature is activated or not depends on the database which is reset after each test scenario. So enabling a feature doesn't leak into other scenarios. Just enabling the feature is less code and more realistic than mocking a method call.