-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: master
Are you sure you want to change the base?
Conversation
...ionalTest/java/uk/gov/hmcts/reform/pip/account/management/controllers/AuditCreationTest.java
Outdated
Show resolved
Hide resolved
assertThat(retrievedAuditLog.getUserEmail()).isEqualTo(auditLog.getUserEmail()); | ||
} | ||
|
||
@Test |
There was a problem hiding this comment.
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
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")