We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
NIST_ROLE
1 parent 1299c3b commit d5365d0Copy full SHA for d5365d0
1 file changed
src/test/java/com/ammann/entropy/resource/EntropyResourceTest.java
@@ -277,6 +277,7 @@ void triggerNist90BValidation_success_returns202() {
277
278
SecurityContext securityContext = mock(SecurityContext.class);
279
when(securityContext.getUserPrincipal()).thenReturn(null);
280
+ when(securityContext.isUserInRole("NIST_ROLE")).thenReturn(true);
281
282
var response =
283
resource.triggerNIST90BValidation(
@@ -294,6 +295,7 @@ void triggerNist90BValidation_validationException_returns400() {
294
295
296
297
298
299
300
301
0 commit comments