fix unit tets configuration

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134603 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-06-11 12:45:41 +00:00
parent 8098934b2f
commit f9e6895b42
2 changed files with 3 additions and 14 deletions

View File

@ -37,18 +37,13 @@
<servlet-name>RssFeedServlet</servlet-name> <servlet-name>RssFeedServlet</servlet-name>
<url-pattern>/feeds/*</url-pattern> <url-pattern>/feeds/*</url-pattern>
</servlet-mapping> </servlet-mapping>
<context-param>
<param-name>contextClass</param-name>
<param-value>org.codehaus.plexus.spring.PlexusWebApplicationContext</param-value>
</context-param>
<context-param> <context-param>
<param-name>contextConfigLocation</param-name> <param-name>contextConfigLocation</param-name>
<param-value> <param-value>
classpath*:/META-INF/plexus/components.xml classpath*:/spring-context.xml
classpath*:/META-INF/spring-context.xml classpath*:/META-INF/spring-context.xml
target/test-classes/org/apache/maven/archiva/web/rss/RssFeedServletTest.xml
</param-value> </param-value>
</context-param> </context-param>

View File

@ -28,17 +28,11 @@
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener> </listener>
<context-param>
<param-name>contextClass</param-name>
<param-value>org.codehaus.plexus.spring.PlexusWebApplicationContext</param-value>
</context-param>
<context-param> <context-param>
<param-name>contextConfigLocation</param-name> <param-name>contextConfigLocation</param-name>
<param-value> <param-value>
classpath*:/META-INF/plexus/components.xml classpath*:/spring-context.xml
classpath*:/META-INF/spring-context.xml classpath*:/META-INF/spring-context.xml
target/test-classes/org/apache/maven/archiva/web/repository/RepositoryServletTest.xml
</param-value> </param-value>
</context-param> </context-param>