fix initialise call once application has already been started
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1448646 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
239831dd69
commit
170bb815ea
|
@ -492,6 +492,7 @@ public class DefaultRoleManager
|
|||
public void initialize()
|
||||
{
|
||||
|
||||
knownResources = new HashMap<String, ModelApplication>();
|
||||
StopWatch stopWatch = new StopWatch();
|
||||
stopWatch.start();
|
||||
|
||||
|
|
|
@ -985,6 +985,12 @@ public abstract class AbstractRbacManagerTestCase
|
|||
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testInitialize() throws Exception
|
||||
{
|
||||
rbacManager.initialize();
|
||||
}
|
||||
|
||||
/**
|
||||
* Allows subclasses to hook code after a test case has finished it's setup
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue