mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
RM: Fix up unit test and event web script
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@51947 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -181,6 +181,11 @@ public class EventRestApiTest extends BaseRMWebScriptTestCase implements Records
|
||||
assertEquals(EVENT_TYPE, eventObj.get(KEY_EVENT_TYPE));
|
||||
|
||||
// Bad requests
|
||||
obj = new JSONObject();
|
||||
obj.put(KEY_EVENT_NAME, "cheese");
|
||||
obj.put(KEY_EVENT_DISPLAY_LABEL, "whatever");
|
||||
obj.put(KEY_EVENT_TYPE, EVENT_TYPE);
|
||||
|
||||
sendRequest(new PutRequest(GET_EVENTS_URL + "/cheese", obj.toString(), APPLICATION_JSON), 404);
|
||||
}
|
||||
finally
|
||||
|
Reference in New Issue
Block a user