diff options
Diffstat (limited to 'uitest/src/com/vaadin/tests/application/ApplicationCloseTest.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/application/ApplicationCloseTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uitest/src/com/vaadin/tests/application/ApplicationCloseTest.java b/uitest/src/com/vaadin/tests/application/ApplicationCloseTest.java index 7250ba3cfb..8cfed569dc 100644 --- a/uitest/src/com/vaadin/tests/application/ApplicationCloseTest.java +++ b/uitest/src/com/vaadin/tests/application/ApplicationCloseTest.java @@ -26,7 +26,7 @@ public class ApplicationCloseTest extends TestBase { @Override public void buttonClick(ClickEvent event) { - event.getButton().getApplication().close(); + event.getButton().getUI().getSession().close(); } }); |