Ignore:
Timestamp:
08/13/14 16:55:59 (10 years ago)
Author:
olhsha@mpi.nl
Message:

Fixed issued arising after testing on localhost tomcat (completed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ComponentRegistry/trunk/ComponentRegistry/src/test/java/clarin/cmdi/componentregistry/rest/ComponentRegistryRestServiceTest.java

    r5550 r5552  
    328328                "/registry/components/" + id2 + "/comments/" + component1Comment4.getId()).delete(
    329329                ClientResponse.class);
    330         assertEquals(500, response.getStatus());
     330        assertEquals(404, response.getStatus());
    331331        // Delete from correct component
    332332        response = getAuthenticatedResource(
     
    403403                "/registry/profiles/" + ProfileDescription.PROFILE_PREFIX
    404404                + "profile2/comments/9999").delete(ClientResponse.class);
    405         assertEquals(500, response.getStatus());
     405        assertEquals(404, response.getStatus());
    406406        // Delete from correct profile
    407407        response = getAuthenticatedResource(
     
    492492                "/registry/components/" + ComponentDescription.COMPONENT_PREFIX
    493493                + "component1").delete(ClientResponse.class);
    494         assertEquals(200, response.getStatus());
     494        assertEquals(404, response.getStatus());
    495495    }
    496496
Note: See TracChangeset for help on using the changeset viewer.