File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/test/java/org/gridsuite/useradmin/server Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -108,10 +108,8 @@ public void testUserAdmin() throws Exception {
108
108
assertEquals (2 , connectionRepository .findAll ().size ());
109
109
assertTrue (connectionRepository .findBySub (USER_SUB ).getConnectionAccepted ());
110
110
assertFalse (connectionRepository .findBySub ("UNKNOWN" ).getConnectionAccepted ());
111
- LocalDateTime firstConnectionDate = connectionRepository .findBySub (USER_SUB ).getFirstConnexionDate ();
112
- //firstConnectionDate and lastConnectionDate are equals cause this is the first connection for this user
113
- assertEquals (firstConnectionDate , connectionRepository .findBySub (USER_SUB ).getLastConnexionDate ());
114
111
112
+ LocalDateTime firstConnectionDate = connectionRepository .findBySub (USER_SUB ).getFirstConnexionDate ();
115
113
mockMvc .perform (head ("/" + UserAdminApi .API_VERSION + "/users/{sub}" , USER_SUB ))
116
114
.andExpect (status ().isOk ())
117
115
.andReturn ();
You can’t perform that action at this time.
0 commit comments