mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Fixed failing integration and UI tests
This commit is contained in:
@@ -8,5 +8,4 @@ module.title=Records Management
|
||||
module.description=Alfresco Record Management Extension
|
||||
module.version=${rm.module.version}
|
||||
|
||||
#module.repo.version.min=${rm.module.repo.version.min}
|
||||
module.repo.version.min=5.1
|
||||
module.repo.version.min=${rm.module.repo.version.min}
|
@@ -31,6 +31,7 @@ import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.alfresco.module.org_alfresco_module_rm.test.util.BaseRMTestCase;
|
||||
import org.apache.commons.lang3.ArrayUtils;
|
||||
|
||||
/**
|
||||
* Test for https://issues.alfresco.com/jira/browse/RM-3114
|
||||
@@ -43,12 +44,7 @@ public class RM3314Test extends BaseRMTestCase
|
||||
/** Application context */
|
||||
protected String[] getConfigLocations()
|
||||
{
|
||||
return new String[]
|
||||
{
|
||||
"classpath:alfresco/application-context.xml",
|
||||
"classpath:test-context.xml",
|
||||
"classpath:test-rm3314-context.xml"
|
||||
};
|
||||
return ArrayUtils.add(super.getConfigLocations(), "classpath:test-rm3314-context.xml");
|
||||
}
|
||||
|
||||
/** registry to record callback from test beans "test.rm3114.1" and "test.rm3114.2" */
|
||||
|
@@ -40,6 +40,7 @@ import org.alfresco.module.org_alfresco_module_rm.test.util.CommonRMTestUtils;
|
||||
import org.alfresco.service.cmr.repository.NodeRef;
|
||||
import org.alfresco.service.namespace.QName;
|
||||
import org.alfresco.util.GUID;
|
||||
import org.apache.commons.lang3.ArrayUtils;
|
||||
|
||||
/**
|
||||
* Test automatic disposition via scheduled job.
|
||||
@@ -55,12 +56,7 @@ public class AutomaticDispositionTest extends BaseRMTestCase
|
||||
/** additional job context to override job frequency */
|
||||
protected String[] getConfigLocations()
|
||||
{
|
||||
return new String[]
|
||||
{
|
||||
"classpath:alfresco/application-context.xml",
|
||||
"classpath:test-context.xml",
|
||||
"classpath:test-job-context.xml"
|
||||
};
|
||||
return ArrayUtils.add(super.getConfigLocations(), "classpath:test-job-context.xml");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user