From 27dc3e3ab6c7185779581169f25d848ed35a1a2b Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 8 Apr 2017 23:45:46 +0200 Subject: [PATCH] Fix intermittent test failure --- src/test/java/net/pterodactylus/sone/notify/ListNotificationTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/net/pterodactylus/sone/notify/ListNotificationTest.java b/src/test/java/net/pterodactylus/sone/notify/ListNotificationTest.java index 7ae3dd8..ea5f067 100644 --- a/src/test/java/net/pterodactylus/sone/notify/ListNotificationTest.java +++ b/src/test/java/net/pterodactylus/sone/notify/ListNotificationTest.java @@ -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())); } -- 2.7.4