From: Olivier Lamy Date: Sat, 5 Nov 2011 09:15:00 +0000 (+0000) Subject: fix test compilation issue X-Git-Tag: archiva-1.4-M2~145 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ea0034cd8ae807679b42e0f923e25c6bdd4f7f3f;p=archiva.git fix test compilation issue git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197907 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/src/test/java/org/apache/archiva/consumers/lucene/test/TestRBACManager.java b/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/src/test/java/org/apache/archiva/consumers/lucene/test/TestRBACManager.java index 5b0b88e5f..55c754e46 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/src/test/java/org/apache/archiva/consumers/lucene/test/TestRBACManager.java +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/src/test/java/org/apache/archiva/consumers/lucene/test/TestRBACManager.java @@ -28,7 +28,6 @@ import org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException; import org.codehaus.plexus.redback.rbac.Resource; import org.codehaus.plexus.redback.rbac.Role; import org.codehaus.plexus.redback.rbac.UserAssignment; -import org.codehaus.plexus.redback.rbac.memory.MemoryResource; import org.springframework.stereotype.Service; import java.util.Collection; @@ -232,7 +231,7 @@ public class TestRBACManager implements RBACManager public Resource createResource( String identifier ) throws RbacManagerException { - return new MemoryResource(); + return null; } public boolean resourceExists( String identifier )