summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/tickets/Ticket1589.java
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-09-05 15:42:02 +0300
committerLeif Åstrand <leif@vaadin.com>2012-09-05 15:42:02 +0300
commitde3ac989c85451767510917822463353bcab71cd (patch)
tree48a991db5d3a700e99e37d53df4fa7902bbb780b /uitest/src/com/vaadin/tests/tickets/Ticket1589.java
parent8bdaf8732e660d1b9595c9d503999022320b0314 (diff)
downloadvaadin-framework-de3ac989c85451767510917822463353bcab71cd.tar.gz
vaadin-framework-de3ac989c85451767510917822463353bcab71cd.zip
Change LegacyApplication to be a UIProvider (#9402)
Diffstat (limited to 'uitest/src/com/vaadin/tests/tickets/Ticket1589.java')
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1589.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1589.java b/uitest/src/com/vaadin/tests/tickets/Ticket1589.java
index 37f9197285..7cbe8cb6cf 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1589.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1589.java
@@ -28,7 +28,7 @@ public class Ticket1589 extends Application.LegacyApplication {
MyDynamicResource res = new MyDynamicResource();
- addRequestHandler(res);
+ Application.getCurrent().addRequestHandler(res);
w.addComponent(new Link(
"Test (without Content-Disposition, should suggest generatedFile.png when saving, browser default for actual disposition)",