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

Test mismatching testdata #2385

Merged
merged 1 commit into from
Feb 17, 2025

Conversation

jooooosef
Copy link
Collaborator

@jooooosef jooooosef commented Feb 3, 2025

in #2382 we added a field to some data in test_data.json after the migration that added this field was added because it was forgetten in the original pr.
To prevent that from happening in the future I added this test.

@jooooosef jooooosef marked this pull request as draft February 3, 2025 21:21
@jooooosef jooooosef force-pushed the testMismatchingTestdata branch 5 times, most recently from 148e064 to fa8e80f Compare February 10, 2025 20:03
@jooooosef jooooosef changed the title WIP: Test mismatching testdata Test mismatching testdata Feb 10, 2025
@jooooosef jooooosef marked this pull request as ready for review February 10, 2025 20:08
Copy link
Collaborator

@Kakadus Kakadus left a comment

Choose a reason for hiding this comment

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

Nice!

@jooooosef jooooosef force-pushed the testMismatchingTestdata branch from 5112277 to 2a930ff Compare February 10, 2025 21:07
Copy link
Member

@richardebeling richardebeling left a comment

Choose a reason for hiding this comment

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

Thanks! :)

@Kakadus
Copy link
Collaborator

Kakadus commented Feb 17, 2025

@jooooosef could you rebase this?

When adding migrations and adding or modifying fields one might forget to change test_data.json. This test aims to check if that happend by making a new test_data.json and comparing it.
@jooooosef jooooosef force-pushed the testMismatchingTestdata branch from 2a930ff to 6013686 Compare February 17, 2025 17:29
@janno42 janno42 merged commit 5f8026e into e-valuation:main Feb 17, 2025
15 checks passed
@jooooosef jooooosef deleted the testMismatchingTestdata branch February 18, 2025 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants