Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Sorry about comments! Is that the corrrect uuid?
- public void shouldPurgeAConceptSource() throws Exception {
- String uuid = "97097dd9-b092-4b68-a2dc-e5e5be961d42";
- //Assert.assertNotNull(service.getConceptSourceByUuid(getUuid()));
- Assert.assertNotNull(service.getConceptSourceByUuid(uuid));
- // MockHttpServletRequest req = request(RequestMethod.DELETE, getURI() + "/" + getUuid());
- MockHttpServletRequest req = request(RequestMethod.DELETE, getURI() + "/" + uuid);
- req.addParameter("purge", "");
- handle(req);
- // Assert.assertNull(service.getConceptSourceByUuid(getUuid()));
- Assert.assertNotNull(service.getConceptSourceByUuid(uuid));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement