diff options
author | Artur Signell <artur@vaadin.com> | 2013-04-03 18:17:32 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2013-04-03 18:37:59 +0300 |
commit | b6928fde240d5b660a4a7be1076e7c58584b3303 (patch) | |
tree | 973081208bcbbd89076bfd46cc5711cfea865f82 /uitest | |
parent | 3c479dd00b24acad23e7c97e7283e31299d771d1 (diff) | |
download | vaadin-framework-b6928fde240d5b660a4a7be1076e7c58584b3303.tar.gz vaadin-framework-b6928fde240d5b660a4a7be1076e7c58584b3303.zip |
Reworked fix for ignoring /APP/ (#11192)
* Fixed potential NPE by using existing helper method
* Pass /APP/ urls also to session handlers as at least GlobalResourceHandler requires it
* Fixed test to test /APP/ instead of /APP
Change-Id: I8d913e6a5509c63f8e47813fce5751f5279ed4fc
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/src/com/vaadin/tests/requesthandlers/AppResource404.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/requesthandlers/AppResource404.java b/uitest/src/com/vaadin/tests/requesthandlers/AppResource404.java index dfd664c9cf..a6a5a5a084 100644 --- a/uitest/src/com/vaadin/tests/requesthandlers/AppResource404.java +++ b/uitest/src/com/vaadin/tests/requesthandlers/AppResource404.java @@ -23,8 +23,8 @@ public class AppResource404 extends TestBase { addComponent(new Link("Existing resource", resource)); addComponent(new Link("Non-existing resource", new ExternalResource( baseUrl + "/APP/connector/0/4/asdfasdf"))); - addComponent(new Link("/APP url that should give 404", - new ExternalResource(baseUrl + "/APP"))); + addComponent(new Link("/APP/ url that should give 404", + new ExternalResource(baseUrl + "/APP/"))); addComponent(new Link("/APPLE url that should go to UI providers", new ExternalResource(baseUrl + "/APPLE"))); } |