mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
Added additional tests for UserService login
This commit is contained in:
@@ -103,8 +103,10 @@ public class UserService {
|
||||
|
||||
/**
|
||||
* should triggers after successful login
|
||||
*
|
||||
* Note: Visibility changed to protected to enabled spying on this method
|
||||
*/
|
||||
private void afterLogin(User user) {
|
||||
protected void afterLogin(User user) {
|
||||
Date lastLogin = user.getLastLogin();
|
||||
Date now = new Date();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user