aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/tickets/Ticket2101.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/tickets/Ticket2101.java')
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2101.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2101.java b/uitest/src/com/vaadin/tests/tickets/Ticket2101.java
index d3e6202542..dd10943108 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2101.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2101.java
@@ -15,7 +15,7 @@ public class Ticket2101 extends LegacyApplication {
"Button with a long text which will not fit on 50 pixels");
b.setWidth("50px");
- w.getContent().addComponent(b);
+ w.addComponent(b);
}
}