diff options
Diffstat (limited to 'server/tests/src/com/vaadin/server/TestAbstractApplicationServletStaticFilesLocation.java')
-rw-r--r-- | server/tests/src/com/vaadin/server/TestAbstractApplicationServletStaticFilesLocation.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/tests/src/com/vaadin/server/TestAbstractApplicationServletStaticFilesLocation.java b/server/tests/src/com/vaadin/server/TestAbstractApplicationServletStaticFilesLocation.java index e6d84a2b83..d8d1521a4c 100644 --- a/server/tests/src/com/vaadin/server/TestAbstractApplicationServletStaticFilesLocation.java +++ b/server/tests/src/com/vaadin/server/TestAbstractApplicationServletStaticFilesLocation.java @@ -29,8 +29,7 @@ public class TestAbstractApplicationServletStaticFilesLocation extends TestCase servlet = new VaadinServlet(); // Workaround to avoid calling init and creating servlet config - Field f = VaadinServlet.class - .getDeclaredField("deploymentConfiguration"); + Field f = VaadinServlet.class.getDeclaredField("servletService"); f.setAccessible(true); f.set(servlet, new ServletService(servlet, new DefaultApplicationConfiguration(servlet.getClass(), |