Skip to content

TestingDatabaseInitializer is not included in projects #2123

@brendt

Description

@brendt

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions