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

Use actual data for ingester tests #148

Merged
merged 1 commit into from
Jan 30, 2024
Merged

Use actual data for ingester tests #148

merged 1 commit into from
Jan 30, 2024

Conversation

dragon-dxw
Copy link
Collaborator

The ingester tests were silently "failures" -- they weren't finding the XML documents, because of mocks. Use actual tar-gz files instead.

This uncovered some issues with how we handle the identifiers -- the v2 targz contains a different consignment ref (TRE-TDR-2000-123) to the folder name and v2 message (TDR-2000-123)

Copy link
Collaborator

@jacksonj04 jacksonj04 left a comment

Choose a reason for hiding this comment

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

Hooray for better tests!

@dragon-dxw dragon-dxw merged commit 87ef447 into main Jan 30, 2024
6 checks passed
@dragon-dxw dragon-dxw deleted the fix/tests-find-xml branch January 30, 2024 11:48
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