diff options
author | olivier lamy <olamy@apache.org> | 2017-08-14 21:38:49 +1000 |
---|---|---|
committer | olivier lamy <olamy@apache.org> | 2017-08-14 21:38:49 +1000 |
commit | 88fccc84f063dbff56a13d68a170e9fbe124829f (patch) | |
tree | a667393b127d1e733730deec80662e3a620c3f6b /archiva-modules/archiva-web/archiva-web-common/src | |
parent | 789f879c3bba01a8188416b7adf11d89291356f0 (diff) | |
download | archiva-88fccc84f063dbff56a13d68a170e9fbe124829f.tar.gz archiva-88fccc84f063dbff56a13d68a170e9fbe124829f.zip |
fix test
Signed-off-by: olivier lamy <olamy@apache.org>
Diffstat (limited to 'archiva-modules/archiva-web/archiva-web-common/src')
2 files changed, 8 insertions, 3 deletions
diff --git a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/TestRepositorySessionFactoryBean.java b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/TestRepositorySessionFactoryBean.java index 880ac94b2..82bd3602d 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/TestRepositorySessionFactoryBean.java +++ b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/TestRepositorySessionFactoryBean.java @@ -58,4 +58,10 @@ public class TestRepositorySessionFactoryBean logger.info( "create RepositorySessionFactory instance of {}", repositorySessionFactory.getClass().getName() ); return repositorySessionFactory; } + + @Override + public String getId() + { + return this.beanId; + } } diff --git a/archiva-modules/archiva-web/archiva-web-common/src/test/resources/spring-context-with-jcr.xml b/archiva-modules/archiva-web/archiva-web-common/src/test/resources/spring-context-with-jcr.xml index 6b72d332a..f29dbcb16 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/test/resources/spring-context-with-jcr.xml +++ b/archiva-modules/archiva-web/archiva-web-common/src/test/resources/spring-context-with-jcr.xml @@ -21,11 +21,10 @@ <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="http://www.springframework.org/schema/tx" + xmlns:tx="http://www.springframework.org/schema/tx" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd - http://www.springframework.org/schema/context - http://www.springframework.org/schema/context/spring-context-3.0.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd" + http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd" default-lazy-init="true"> <!-- |