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

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

Open
wants to merge 25 commits into
base: master
Choose a base branch
from

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
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