summaryrefslogtreecommitdiffstats
path: root/server/tests/src/com/vaadin/ui/LabelDataSource.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/src/com/vaadin/ui/LabelDataSource.java')
-rw-r--r--server/tests/src/com/vaadin/ui/LabelDataSource.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/src/com/vaadin/ui/LabelDataSource.java b/server/tests/src/com/vaadin/ui/LabelDataSource.java
index 506a635814..7ef8d67c2a 100644
--- a/server/tests/src/com/vaadin/ui/LabelDataSource.java
+++ b/server/tests/src/com/vaadin/ui/LabelDataSource.java
@@ -122,7 +122,7 @@ public class LabelDataSource {
label.setPropertyDataSource(integerDataSource);
UI ui = new MockUI();
ui.setLocale(Locale.GERMANY);
- ui.addComponent(label);
+ ui.setContent(label);
Assert.assertEquals(INTEGER_STRING_VALUE_DE, label.getState().text);
}
}