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:
Tuna Aksoy
2013-06-28 15:09:26 +00:00
parent e8e60b9a6c
commit 679fe536fe
3 changed files with 4 additions and 3 deletions

View File

@@ -200,6 +200,7 @@ public class RmClassesGet extends DictionaryWebServiceBase implements RecordsMan
model.put(MODEL_PROP_KEY_CLASS_DEFS, classDefinitions);
model.put(MODEL_PROP_KEY_PROPERTY_DETAILS, propdef.values());
model.put(MODEL_PROP_KEY_ASSOCIATION_DETAILS, assocdef.values());
model.put(MODEL_PROP_KEY_MESSAGE_LOOKUP, dictionaryservice);
return model;
}

View File

@@ -56,7 +56,7 @@ public class RmClassesRestApiTest extends BaseRMWebScriptTestCase
* @throws IOException
* @throws JSONException
*/
public void disableTestRmGetAspectDefinitions() throws IOException, JSONException
public void testRmGetAspectDefinitions() throws IOException, JSONException
{
// Format url and send request
String url = String.format(RM_ASPECTS_URL, "aspect", SITE_ID);
@@ -140,7 +140,7 @@ public class RmClassesRestApiTest extends BaseRMWebScriptTestCase
"bpm:assignees",
"cm:likesRatingSchemeRollups",
"wcmwf:submission",
"gd:googleEditable"
"sys:localized"
});
}
}

View File

@@ -56,7 +56,7 @@ public class RmPropertiesRestApiTest extends BaseRMWebScriptTestCase
* @throws IOException
* @throws JSONException
*/
public void disableTestRmGetTypeDefinitions() throws IOException, JSONException
public void testRmGetTypeDefinitions() throws IOException, JSONException
{
// Format url and send request
String url = String.format(RM_TYPES_URL, "type", SITE_ID);