Skip to content

Commit e286109

Browse files
committed
Avoid brittle test
1 parent ab217e9 commit e286109

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/src/test/java/com/auth0/jwt/ClockTest.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ public class ClockTest {
1515
public void shouldGetToday() throws Exception{
1616
Clock clock = new Clock();
1717
Date clockToday = clock.getToday();
18-
Date today = new Date();
19-
2018
assertThat(clockToday, is(notNullValue()));
21-
assertThat(clockToday.getTime(), is(equalTo(today.getTime())));
2219
}
2320

2421
}

0 commit comments

Comments
 (0)