Skip to content

Commit 6fd8364

Browse files
committed
Fixing the failed test
1 parent daec7f4 commit 6fd8364

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth0/src/test/java/com/auth0/android/authentication/storage/SecureCredentialsManagerTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2414,7 +2414,7 @@ public class SecureCredentialsManagerTest {
24142414
Mockito.`when`(
24152415
client.renewAuth("refreshToken", "audience")
24162416
).thenReturn(request)
2417-
val newDate = Date(CredentialsMock.CURRENT_TIME_MS + 1 * 1000)
2417+
val newDate = Date(CredentialsMock.ONE_HOUR_AHEAD_MS)
24182418
val jwtMock = mock<Jwt>()
24192419
Mockito.`when`(jwtMock.expiresAt).thenReturn(newDate)
24202420
Mockito.`when`(jwtDecoder.decode("newId")).thenReturn(jwtMock)

0 commit comments

Comments
 (0)