This file lives in the testing namespace, and thus not included in projects who require tempest. This leads to database connection errors in projects with many test cases.
The fix is the following:
- Ship the file as part of
Tempest\Framework\Testing
- Add
#[SkipDiscovery]
- Add a method in the integration test to load it (which will remove the normal DatabaseInitializer from the container and add the testing version)
This file lives in the testing namespace, and thus not included in projects who require tempest. This leads to database connection errors in projects with many test cases.
The fix is the following:
Tempest\Framework\Testing#[SkipDiscovery]