Skip to content

PUB-2576 - Add functional tests for audit logs #467

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

Merged
merged 28 commits into from
Jan 15, 2025
Merged

PUB-2576 - Add functional tests for audit logs #467

merged 28 commits into from
Jan 15, 2025

Conversation

NatashaAlker
Copy link
Contributor

JIRA link (if applicable)

https://tools.hmcts.net/jira/browse/PUB-2576

Change description

Add functional tests for audit log endpoints in AuditController

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[x] No

assertThat(retrievedAuditLog.getUserEmail()).isEqualTo(auditLog.getUserEmail());
}

@Test
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we'll run into the issues with the below when it runs on the master pipeline due to master linking up to the Staging DB and the numbers below not matching.

To fix this, I'd suggest using the functionality in the recently merged PUB-1909, to filter based on email alongside the page sizes below to ensure it will always return a consistent result

@ChrisS1512 ChrisS1512 changed the base branch from freeze to master January 6, 2025 11:59
@ChrisS1512 ChrisS1512 merged commit 9a66183 into master Jan 15, 2025
6 checks passed
@ChrisS1512 ChrisS1512 deleted the PUB-2576 branch January 15, 2025 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants