mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-752 (RM Dependency upgrade to 4.2):
Fixed failing tests git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@51863 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -200,6 +200,7 @@ public class RmClassesGet extends DictionaryWebServiceBase implements RecordsMan
|
|||||||
model.put(MODEL_PROP_KEY_CLASS_DEFS, classDefinitions);
|
model.put(MODEL_PROP_KEY_CLASS_DEFS, classDefinitions);
|
||||||
model.put(MODEL_PROP_KEY_PROPERTY_DETAILS, propdef.values());
|
model.put(MODEL_PROP_KEY_PROPERTY_DETAILS, propdef.values());
|
||||||
model.put(MODEL_PROP_KEY_ASSOCIATION_DETAILS, assocdef.values());
|
model.put(MODEL_PROP_KEY_ASSOCIATION_DETAILS, assocdef.values());
|
||||||
|
model.put(MODEL_PROP_KEY_MESSAGE_LOOKUP, dictionaryservice);
|
||||||
|
|
||||||
return model;
|
return model;
|
||||||
}
|
}
|
||||||
|
@@ -56,7 +56,7 @@ public class RmClassesRestApiTest extends BaseRMWebScriptTestCase
|
|||||||
* @throws IOException
|
* @throws IOException
|
||||||
* @throws JSONException
|
* @throws JSONException
|
||||||
*/
|
*/
|
||||||
public void disableTestRmGetAspectDefinitions() throws IOException, JSONException
|
public void testRmGetAspectDefinitions() throws IOException, JSONException
|
||||||
{
|
{
|
||||||
// Format url and send request
|
// Format url and send request
|
||||||
String url = String.format(RM_ASPECTS_URL, "aspect", SITE_ID);
|
String url = String.format(RM_ASPECTS_URL, "aspect", SITE_ID);
|
||||||
@@ -140,7 +140,7 @@ public class RmClassesRestApiTest extends BaseRMWebScriptTestCase
|
|||||||
"bpm:assignees",
|
"bpm:assignees",
|
||||||
"cm:likesRatingSchemeRollups",
|
"cm:likesRatingSchemeRollups",
|
||||||
"wcmwf:submission",
|
"wcmwf:submission",
|
||||||
"gd:googleEditable"
|
"sys:localized"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -56,7 +56,7 @@ public class RmPropertiesRestApiTest extends BaseRMWebScriptTestCase
|
|||||||
* @throws IOException
|
* @throws IOException
|
||||||
* @throws JSONException
|
* @throws JSONException
|
||||||
*/
|
*/
|
||||||
public void disableTestRmGetTypeDefinitions() throws IOException, JSONException
|
public void testRmGetTypeDefinitions() throws IOException, JSONException
|
||||||
{
|
{
|
||||||
// Format url and send request
|
// Format url and send request
|
||||||
String url = String.format(RM_TYPES_URL, "type", SITE_ID);
|
String url = String.format(RM_TYPES_URL, "type", SITE_ID);
|
||||||
|
Reference in New Issue
Block a user