aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-base
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2021-01-02 11:26:11 +0100
committerMartin Stockhammer <martin_s@apache.org>2021-01-02 11:26:11 +0100
commitbefb43799ebf958241e69b75b00835994f40fa7d (patch)
treeb50783222f6e7ada6852440eda17d55d8f371d87 /archiva-modules/archiva-base
parentcbfd3f256f0efd67f56f2654ad105c42f1e27dcf (diff)
downloadarchiva-befb43799ebf958241e69b75b00835994f40fa7d.tar.gz
archiva-befb43799ebf958241e69b75b00835994f40fa7d.zip
Switching to alias definition for test bean
Diffstat (limited to 'archiva-modules/archiva-base')
-rw-r--r--archiva-modules/archiva-base/archiva-consumers/archiva-indexer-consumers/src/test/java/org/apache/archiva/consumers/lucene/test/TestRBACManager.java2
-rw-r--r--archiva-modules/archiva-base/archiva-consumers/archiva-indexer-consumers/src/test/resources/spring-context.xml1
2 files changed, 2 insertions, 1 deletions
diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-indexer-consumers/src/test/java/org/apache/archiva/consumers/lucene/test/TestRBACManager.java b/archiva-modules/archiva-base/archiva-consumers/archiva-indexer-consumers/src/test/java/org/apache/archiva/consumers/lucene/test/TestRBACManager.java
index a74d5bc8c..eddbd1f14 100644
--- a/archiva-modules/archiva-base/archiva-consumers/archiva-indexer-consumers/src/test/java/org/apache/archiva/consumers/lucene/test/TestRBACManager.java
+++ b/archiva-modules/archiva-base/archiva-consumers/archiva-indexer-consumers/src/test/java/org/apache/archiva/consumers/lucene/test/TestRBACManager.java
@@ -38,7 +38,7 @@ import java.util.Set;
/**
* @author Olivier Lamy
*/
-@Service("rbacManager#cached")
+@Service("rbacManager#test")
public class TestRBACManager implements RBACManager
{
diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-indexer-consumers/src/test/resources/spring-context.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-indexer-consumers/src/test/resources/spring-context.xml
index 8fb55e1b1..9ee68d1fa 100644
--- a/archiva-modules/archiva-base/archiva-consumers/archiva-indexer-consumers/src/test/resources/spring-context.xml
+++ b/archiva-modules/archiva-base/archiva-consumers/archiva-indexer-consumers/src/test/resources/spring-context.xml
@@ -58,6 +58,7 @@
</bean>
<alias name="roleManager#test" alias="roleManager"/>
+ <alias name="rbacManager#test" alias="rbacManager#cached" />
<!--
<bean id="jcr-config" class="org.apache.archiva.metadata.repository.jcr.ArchivaJcrRepositoryConfig" factory-method="create">