diff options
author | Artur Signell <artur@vaadin.com> | 2014-08-16 19:58:11 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2014-08-16 19:58:23 +0300 |
commit | 074f248f7ef1e4cd09420cc1f37dbcfc22325d0e (patch) | |
tree | 914983de94725b6de16585a9a42d73fff9bca96e /uitest | |
parent | e75aa11368629324e0f06708cce12a4d7d4e8d9c (diff) | |
download | vaadin-framework-074f248f7ef1e4cd09420cc1f37dbcfc22325d0e.tar.gz vaadin-framework-074f248f7ef1e4cd09420cc1f37dbcfc22325d0e.zip |
Make test stable again
Change-Id: I1e02ce31ec7f0235158a5b04812c031e040c7ba2
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/src/com/vaadin/tests/themes/valo/DateFields.java | 4 |
1 files 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); |