Skip to content

test: parameterise migration error-status cases#43

Merged
scottlovegrove merged 1 commit into
mainfrom
chore/parameterise-migration-tests
Jun 26, 2026
Merged

test: parameterise migration error-status cases#43
scottlovegrove merged 1 commit into
mainfrom
chore/parameterise-migration-tests

Conversation

@scottlovegrove

Copy link
Copy Markdown
Collaborator

Follow-up to #42 addressing Amir's review nit: parameterise the migration test suite.

The two near-identical fetchNewCommsUrl error cases — invalid_url (400) and not_imported (404) — are folded into a single it.each, which is more concise and makes the status/code matrix easier to scan. The 500 case stays separate as it asserts a different shape (instanceof only). Still 8 tests, all passing.

🤖 Generated with Claude Code

Fold the near-identical invalid_url (400) and not_imported (404) cases
into a single it.each, addressing review feedback on PR #42.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@scottlovegrove scottlovegrove self-assigned this Jun 26, 2026

@doistbot doistbot left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR updates test: parameterise migration error-status cases. No issues were flagged in the reviewed diff.

Share FeedbackReview Logs

@scottlovegrove scottlovegrove merged commit 4906a01 into main Jun 26, 2026
4 checks passed
@scottlovegrove scottlovegrove deleted the chore/parameterise-migration-tests branch June 26, 2026 17:42
@amix

amix commented Jun 26, 2026

Copy link
Copy Markdown
Member

👌

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