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

Add and use a table cleanup assertion function #493

Merged
merged 2 commits into from
Nov 26, 2024

Conversation

andrew-farries
Copy link
Collaborator

Reduce repetition in test code by extracting the common assertions for ensuring a table is cleaned up after rollback (temporary columns, triggers and trigger functions all removed) into a TableMustBeCleanedUp assertion.

@andrew-farries andrew-farries marked this pull request as ready for review November 26, 2024 16:16
@andrew-farries andrew-farries force-pushed the table-cleanup-assertion-function branch from 8fae738 to 31ce387 Compare November 26, 2024 16:49
Base automatically changed from drop-multi-column-constraints to main November 26, 2024 16:50
@andrew-farries andrew-farries force-pushed the table-cleanup-assertion-function branch from 31ce387 to cfa3c90 Compare November 26, 2024 16:51
@andrew-farries andrew-farries merged commit 86e02c5 into main Nov 26, 2024
27 checks passed
@andrew-farries andrew-farries deleted the table-cleanup-assertion-function branch November 26, 2024 16:53
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.

2 participants