mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-14 14:25:24 +01:00
Add test for AuthMeApi.getLastLoginMillis (#2562)
This commit is contained in:
parent
9d9e039cac
commit
7530528432
@ -241,6 +241,12 @@ public class AuthMeApiTest {
|
||||
assertThat(result, equalTo(Instant.ofEpochMilli(1501597979L)));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testGetLastLoginMillis() {
|
||||
AuthMeApi result = AuthMeApi.getInstance();
|
||||
assertThat(result.getLastLoginTime("notAPlayer"), nullValue());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void shouldHandleNullLastLoginTime() {
|
||||
// given
|
||||
|
Loading…
Reference in New Issue
Block a user