diff --git a/smp-webapp/src/test/java/eu/europa/ec/edelivery/smp/auth/SMPAuthenticationProviderTest.java b/smp-webapp/src/test/java/eu/europa/ec/edelivery/smp/auth/SMPAuthenticationProviderTest.java index 3b7e6973c7ec51048f45fbbc0ddfb96057472d1d..8e2a7bdbf67f299f29abcd061370197ad3dacdf7 100644 --- a/smp-webapp/src/test/java/eu/europa/ec/edelivery/smp/auth/SMPAuthenticationProviderTest.java +++ b/smp-webapp/src/test/java/eu/europa/ec/edelivery/smp/auth/SMPAuthenticationProviderTest.java @@ -112,7 +112,7 @@ public class SMPAuthenticationProviderTest { doReturn(5).when(mockConfigurationService).getAccessTokenLoginMaxAttempts(); // when BadCredentialsException error = assertThrows(BadCredentialsException.class, - () -> testInstance.loginAttemptForAccessTokenFailed(user,false,starTime)); + () -> testInstance.loginAttemptForAccessTokenFailed(user,true,starTime)); assertEquals(SMPAuthenticationProvider.SUSPENDED_CREDENTIALS_EXCEPTION, error); assertEquals(starFailCount+1,(int)user.getSequentialTokenLoginFailureCount());