Skip to content

fix: Column testing helpers with aggregation#19192

Merged
danharrin merged 1 commit into4.xfrom
fix/column-testing-helpers-with-aggregation
Feb 3, 2026
Merged

fix: Column testing helpers with aggregation#19192
danharrin merged 1 commit into4.xfrom
fix/column-testing-helpers-with-aggregation

Conversation

@danharrin
Copy link
Member

Instead of using the exact model instance that the user passes in, the key is extracted from the model instance, and the model instance is re-fetched using the table query, so that aggregations etc can run.

This shouldn't break tests that have been written correctly (the table record passed exists in the table), but it could reveal issues with tests that used to pass without the table actually containing that record.

@danharrin danharrin added this to the v4 milestone Feb 3, 2026
@danharrin danharrin added the bug Something isn't working label Feb 3, 2026
@github-project-automation github-project-automation bot moved this to Todo in Roadmap Feb 3, 2026
@danharrin danharrin merged commit 1759841 into 4.x Feb 3, 2026
47 checks passed
@danharrin danharrin deleted the fix/column-testing-helpers-with-aggregation branch February 3, 2026 22:25
@github-project-automation github-project-automation bot moved this from Todo to Done in Roadmap Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Can't use assertTableColumnStateSet when column value is count of relationship

1 participant