Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] Test Improvements #39877

Merged
merged 4 commits into from
Dec 3, 2021
Merged

[8.x] Test Improvements #39877

merged 4 commits into from
Dec 3, 2021

Conversation

crynobone
Copy link
Member

@crynobone crynobone commented Dec 3, 2021

  • Replace Capsule (using in-memory sqlite) test to extends DatabaseTestCase.
  • Replace mocking Container to asserts on events and use Event::fake()
  • Purge all database connections on tearDown().

Signed-off-by: Mior Muhammad Zaki [email protected]

Signed-off-by: Mior Muhammad Zaki <[email protected]>
@crynobone crynobone closed this Dec 3, 2021
@crynobone crynobone reopened this Dec 3, 2021
Signed-off-by: Mior Muhammad Zaki <[email protected]>
Signed-off-by: Mior Muhammad Zaki <[email protected]>
Signed-off-by: Mior Muhammad Zaki <[email protected]>
@driesvints
Copy link
Member

Nice @crynobone! Now we can re-enable the Postgres build on master after this is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants