RM-6723 fixing tests

This commit is contained in:
rlucanu
2019-04-07 23:11:10 +03:00
parent a8c7e8540e
commit d25c8762ca

View File

@@ -539,7 +539,7 @@ public abstract class BaseRMTestCase extends RetryingTransactionHelperTestCase
assertNotNull(transfersContainer);
}
}
}, AuthenticationUtil.getSystemUserName());
}, AuthenticationUtil.getAdminUserName());
}
/**
@@ -547,8 +547,6 @@ public abstract class BaseRMTestCase extends RetryingTransactionHelperTestCase
*/
protected void setupTestDataImpl()
{
AuthorityDAO authDao = (AuthorityDAO)applicationContext.getBean("authorityDAO");
storeRef = StoreRef.STORE_REF_WORKSPACE_SPACESSTORE;
rootNodeRef = nodeService.getRootNode(storeRef);