From 074f248f7ef1e4cd09420cc1f37dbcfc22325d0e Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Sat, 16 Aug 2014 19:58:11 +0300 Subject: [PATCH] Make test stable again Change-Id: I1e02ce31ec7f0235158a5b04812c031e040c7ba2 --- uitest/src/com/vaadin/tests/themes/valo/DateFields.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uitest/src/com/vaadin/tests/themes/valo/DateFields.java b/uitest/src/com/vaadin/tests/themes/valo/DateFields.java index bdc0dc5983..7738b2d6db 100644 --- a/uitest/src/com/vaadin/tests/themes/valo/DateFields.java +++ b/uitest/src/com/vaadin/tests/themes/valo/DateFields.java @@ -173,13 +173,13 @@ public class DateFields extends VerticalLayout implements View { row.addComponent(date); date = new DateField("Tiny"); - date.setValue(new Date()); + setDate(date); date.setResolution(Resolution.DAY); date.addStyleName("tiny"); row.addComponent(date); date = new DateField("Huge"); - date.setValue(new Date()); + setDate(date); date.setResolution(Resolution.DAY); date.addStyleName("huge"); row.addComponent(date); -- 2.39.5