From f9e6895b4287b0f2b4e516e0b422205fc0913746 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Sat, 11 Jun 2011 12:45:41 +0000 Subject: [PATCH] fix unit tets configuration git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134603 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/webapp/WEB-INF/feedServletTest-web.xml | 9 ++------- .../archiva-webapp/src/test/webapp/WEB-INF/web.xml | 8 +------- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-webapp/src/test/webapp/WEB-INF/feedServletTest-web.xml b/archiva-modules/archiva-web/archiva-webapp/src/test/webapp/WEB-INF/feedServletTest-web.xml index 106e9cb73..7741913b2 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/test/webapp/WEB-INF/feedServletTest-web.xml +++ b/archiva-modules/archiva-web/archiva-webapp/src/test/webapp/WEB-INF/feedServletTest-web.xml @@ -37,18 +37,13 @@ RssFeedServlet /feeds/* - - - contextClass - org.codehaus.plexus.spring.PlexusWebApplicationContext - + contextConfigLocation - classpath*:/META-INF/plexus/components.xml + classpath*:/spring-context.xml classpath*:/META-INF/spring-context.xml - target/test-classes/org/apache/maven/archiva/web/rss/RssFeedServletTest.xml diff --git a/archiva-modules/archiva-web/archiva-webapp/src/test/webapp/WEB-INF/web.xml b/archiva-modules/archiva-web/archiva-webapp/src/test/webapp/WEB-INF/web.xml index f47bd657f..7df481abd 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/test/webapp/WEB-INF/web.xml +++ b/archiva-modules/archiva-web/archiva-webapp/src/test/webapp/WEB-INF/web.xml @@ -28,17 +28,11 @@ org.springframework.web.context.ContextLoaderListener - - contextClass - org.codehaus.plexus.spring.PlexusWebApplicationContext - - contextConfigLocation - classpath*:/META-INF/plexus/components.xml + classpath*:/spring-context.xml classpath*:/META-INF/spring-context.xml - target/test-classes/org/apache/maven/archiva/web/repository/RepositoryServletTest.xml -- 2.39.5