diff options
author | Martin Stockhammer <martin_s@apache.org> | 2021-01-02 11:26:11 +0100 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2021-01-02 11:26:11 +0100 |
commit | befb43799ebf958241e69b75b00835994f40fa7d (patch) | |
tree | b50783222f6e7ada6852440eda17d55d8f371d87 /archiva-modules/archiva-base | |
parent | cbfd3f256f0efd67f56f2654ad105c42f1e27dcf (diff) | |
download | archiva-befb43799ebf958241e69b75b00835994f40fa7d.tar.gz archiva-befb43799ebf958241e69b75b00835994f40fa7d.zip |
Switching to alias definition for test bean
Diffstat (limited to 'archiva-modules/archiva-base')
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"> |