massx1 commented on code in PR #1411:
URL: https://github.com/apache/syncope/pull/1411#discussion_r3354871500
##########
fit/core-reference/src/test/java/org/apache/syncope/fit/core/AuthenticationITCase.java:
##########
@@ -353,9 +348,10 @@ public void checkUserSuspension() {
assertNotNull(e);
}
- assertEquals(3, USER_SERVICE.read(userKey).getFailedLogins());
+ userTO = USER_SERVICE.read(userTO.getKey());
+ assertEquals(2, userTO.getFailedLogins().intValue());
+ assertNotEquals("suspended", userTO.getStatus());
Review Comment:
I guess I have to do the same thing few rows below adding
assertTrue(userTO.isSuspended());
```
userTO = USER_SERVICE.read(userTO.getKey());
assertNotNull(userTO);
assertNotNull(userTO.getFailedLogins());
assertEquals(3, userTO.getFailedLogins().intValue());
assertEquals("suspended", userTO.getStatus());
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]