Fix intermittent test failure
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 8 Apr 2017 21:45:46 +0000 (23:45 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 8 Apr 2017 21:45:46 +0000 (23:45 +0200)
src/test/java/net/pterodactylus/sone/notify/ListNotificationTest.java

index 7ae3dd8..ea5f067 100644 (file)
@@ -110,6 +110,7 @@ public class ListNotificationTest {
                ListNotification secondNotification = new ListNotification(listNotification);
                listNotification.add("a");
                secondNotification.add("a");
+               listNotification.setLastUpdateTime(secondNotification.getLastUpdatedTime());
                assertThat(listNotification.hashCode(), is(secondNotification.hashCode()));
        }