diff options
author | Olivier Lamy <olamy@apache.org> | 2014-03-31 01:30:41 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2014-03-31 01:30:41 +0000 |
commit | 0bcd8bb3e1684f79df8cb7e8a3416c63727fa2ef (patch) | |
tree | 80bf0e83fa0b468e572e9457f3a656df6903f684 /archiva-modules | |
parent | e278aa78c5fd394fcaf1b79666714f2cd20a4b7e (diff) | |
download | archiva-0bcd8bb3e1684f79df8cb7e8a3416c63727fa2ef.tar.gz archiva-0bcd8bb3e1684f79df8cb7e8a3416c63727fa2ef.zip |
more unit tests fixes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583231 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules')
2 files changed, 13 insertions, 0 deletions
diff --git a/archiva-modules/archiva-web/archiva-web-common/src/test/resources/spring-context-artifacts-download.xml b/archiva-modules/archiva-web/archiva-web-common/src/test/resources/spring-context-artifacts-download.xml index 9c543e2cd..f4ed2f9e9 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/test/resources/spring-context-artifacts-download.xml +++ b/archiva-modules/archiva-web/archiva-web-common/src/test/resources/spring-context-artifacts-download.xml @@ -54,4 +54,10 @@ <alias name="userManager#configurable" alias="userManager#default"/> + <bean name="TestRepositorySessionFactoryBean" class="org.apache.archiva.TestRepositorySessionFactoryBean"> + <constructor-arg> + <value>jcr</value> + </constructor-arg> + </bean> + </beans> diff --git a/archiva-modules/archiva-web/archiva-web-common/src/test/resources/spring-context-merge-index-download.xml b/archiva-modules/archiva-web/archiva-web-common/src/test/resources/spring-context-merge-index-download.xml index 5be2ad104..7a06a884d 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/test/resources/spring-context-merge-index-download.xml +++ b/archiva-modules/archiva-web/archiva-web-common/src/test/resources/spring-context-merge-index-download.xml @@ -55,4 +55,11 @@ <alias name="userConfiguration#archiva" alias="userConfiguration#default"/> <alias name="authorizer#rbac" alias="authorizer#default"/> <alias name="userManager#configurable" alias="userManager#default"/> + + <bean name="TestRepositorySessionFactoryBean" class="org.apache.archiva.TestRepositorySessionFactoryBean"> + <constructor-arg> + <value>jcr</value> + </constructor-arg> + </bean> + </beans> |