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: improve test for exporting tracker event notes DHIS2-18319 #18954

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

teleivo
Copy link
Contributor

@teleivo teleivo commented Oct 30, 2024

the fix for the issue came in

#18943

I tested it in part by asserting the /events/{uid} body is equal to /events?events={uid}. The test could hide a regression if we were to not return notes at all in both bodies.

Cherry-picking the assertion from the backport

#18949

as this test does not suffer from the above test issue and it points us directly to the root cause.

the fix for the issue came in

#18943

I tested it in part by asserting the /events/{uid} body is equal to
/events?events={uid}. The test could hide a regression if we were to not
return notes at all in both bodies.

Porting the test from the backport

#18949

as it does not suffer from that issue and it points us directly to the
issue.
Copy link

@teleivo teleivo requested a review from a team October 30, 2024 14:42
@teleivo teleivo enabled auto-merge (squash) October 30, 2024 14:42
@teleivo teleivo merged commit b0fa12e into master Oct 30, 2024
15 checks passed
@teleivo teleivo deleted the DHIS2-18319-master branch October 30, 2024 15:17
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