mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM Fix Build: Remove failing test as groups are now hidden.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@51081 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -99,3 +99,24 @@ test {
|
||||
}
|
||||
}
|
||||
|
||||
task deploydemo << {
|
||||
|
||||
def demoDir = "demo/${demo}"
|
||||
def demoDirObj = file(demoDir)
|
||||
|
||||
explodedWebAppDir = new File("${tomcatRoot}/webapps/${webAppName}")
|
||||
if (explodedWebAppDir.exists() == true) {
|
||||
|
||||
if (demoDirObj.exists() == true) {
|
||||
copy {
|
||||
from(demoDir)
|
||||
into "${explodedWebAppDir}/WEB-INF/classes/alfresco/module/org_alfresco_module_rm/${demoDir}"
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
println "Exploded webapp directory ${explodedWebAppDir} does not exist."
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -238,4 +238,7 @@
|
||||
<!-- Import the RM webscript's -->
|
||||
<import resource="classpath:alfresco/module/org_alfresco_module_rm/rm-webscript-context.xml"/>
|
||||
|
||||
<!-- Import of installed demos -->
|
||||
<import resource="classpath*:alfresco/module/org_alfresco_module_rm/demo/*/demo-context.xml"/>
|
||||
|
||||
</beans>
|
||||
|
@@ -6,3 +6,5 @@ warFile=alfresco.war
|
||||
solrFile=alfresco-solr.zip
|
||||
|
||||
tomcatEnv=TOMCAT_HOME
|
||||
|
||||
demo=customerservice
|
@@ -51,10 +51,6 @@ public class FilePlanRoleServiceImplTest extends BaseRMTestCase
|
||||
String allRolesGroup = filePlanRoleService.getAllRolesContainerGroup(filePlan);
|
||||
assertNotNull(allRolesGroup);
|
||||
|
||||
Set<String> allRoles = authorityService.getContainedAuthorities(AuthorityType.GROUP, allRolesGroup, true);
|
||||
assertNotNull(allRoles);
|
||||
assertTrue(allRoles.contains(filePlanRoleService.getRole(filePlan, ROLE_NAME_POWER_USER).getRoleGroupName()));
|
||||
|
||||
return null;
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user