aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/test/java/com/vaadin/tests/application/WebBrowserTimeZoneTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/test/java/com/vaadin/tests/application/WebBrowserTimeZoneTest.java')
-rw-r--r--uitest/src/test/java/com/vaadin/tests/application/WebBrowserTimeZoneTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/application/WebBrowserTimeZoneTest.java b/uitest/src/test/java/com/vaadin/tests/application/WebBrowserTimeZoneTest.java
index 10b6dfb7a9..bc74927ee1 100644
--- a/uitest/src/test/java/com/vaadin/tests/application/WebBrowserTimeZoneTest.java
+++ b/uitest/src/test/java/com/vaadin/tests/application/WebBrowserTimeZoneTest.java
@@ -1,6 +1,7 @@
package com.vaadin.tests.application;
-import org.junit.Assert;
+import static org.junit.Assert.assertEquals;
+
import org.junit.Test;
import com.vaadin.testbench.elements.ButtonElement;
@@ -20,8 +21,7 @@ public class WebBrowserTimeZoneTest extends MultiBrowserTest {
private void assertLabelText(String caption, String expected) {
String actual = $(LabelElement.class).caption(caption).first()
.getText();
- Assert.assertEquals(
- String.format("Unexpected text in label '%s',", caption),
+ assertEquals(String.format("Unexpected text in label '%s',", caption),
expected, actual);
}
}