From: David ‘Bombe’ Roden Date: Sat, 8 Apr 2017 21:45:46 +0000 (+0200) Subject: Fix intermittent test failure X-Git-Tag: 0.9.7^2~254 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=27dc3e3ab6c7185779581169f25d848ed35a1a2b;p=Sone.git Fix intermittent test failure --- 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())); }