Changeset 5552 for ComponentRegistry/trunk/ComponentRegistry/src/test/java/clarin/cmdi/componentregistry/rest/ComponentRegistryRestServiceTest.java
- Timestamp:
- 08/13/14 16:55:59 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ComponentRegistry/trunk/ComponentRegistry/src/test/java/clarin/cmdi/componentregistry/rest/ComponentRegistryRestServiceTest.java
r5550 r5552 328 328 "/registry/components/" + id2 + "/comments/" + component1Comment4.getId()).delete( 329 329 ClientResponse.class); 330 assertEquals( 500, response.getStatus());330 assertEquals(404, response.getStatus()); 331 331 // Delete from correct component 332 332 response = getAuthenticatedResource( … … 403 403 "/registry/profiles/" + ProfileDescription.PROFILE_PREFIX 404 404 + "profile2/comments/9999").delete(ClientResponse.class); 405 assertEquals( 500, response.getStatus());405 assertEquals(404, response.getStatus()); 406 406 // Delete from correct profile 407 407 response = getAuthenticatedResource( … … 492 492 "/registry/components/" + ComponentDescription.COMPONENT_PREFIX 493 493 + "component1").delete(ClientResponse.class); 494 assertEquals( 200, response.getStatus());494 assertEquals(404, response.getStatus()); 495 495 } 496 496
Note: See TracChangeset
for help on using the changeset viewer.