From a2e38afba96ff2d750254333c30dfc7255c750ed Mon Sep 17 00:00:00 2001 From: Enrique Date: Tue, 2 Jun 2020 14:29:07 +0200 Subject: [PATCH] hotfix/3.0.4 --- .../samples/yogogym/service/TrainingServiceTests.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/java/org/springframework/samples/yogogym/service/TrainingServiceTests.java b/src/test/java/org/springframework/samples/yogogym/service/TrainingServiceTests.java index 6bb25cc5..6a329925 100644 --- a/src/test/java/org/springframework/samples/yogogym/service/TrainingServiceTests.java +++ b/src/test/java/org/springframework/samples/yogogym/service/TrainingServiceTests.java @@ -65,8 +65,7 @@ public class TrainingServiceTests { @BeforeAll public static void setup() { - NOW.set(Calendar.HOUR, 0); - NOW.add(Calendar.HOUR, 0); + NOW.set(Calendar.HOUR_OF_DAY, 0); NOW.set(Calendar.MINUTE, 0); NOW.set(Calendar.SECOND, 0); NOW.set(Calendar.MILLISECOND, 0);