Repository: syncope Updated Branches: refs/heads/1_2_X 640b016b3 -> ef4abb44f
Removing useless test Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/ef4abb44 Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/ef4abb44 Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/ef4abb44 Branch: refs/heads/1_2_X Commit: ef4abb44f395d20d3e4525e81d60356eb5994d96 Parents: 640b016 Author: Francesco Chicchiriccò <ilgro...@apache.org> Authored: Fri Dec 11 12:26:05 2015 +0100 Committer: Francesco Chicchiriccò <ilgro...@apache.org> Committed: Fri Dec 11 12:26:05 2015 +0100 ---------------------------------------------------------------------- .../apache/syncope/core/rest/TaskTestITCase.java | 19 ------------------- 1 file changed, 19 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/syncope/blob/ef4abb44/core/src/test/java/org/apache/syncope/core/rest/TaskTestITCase.java ---------------------------------------------------------------------- diff --git a/core/src/test/java/org/apache/syncope/core/rest/TaskTestITCase.java b/core/src/test/java/org/apache/syncope/core/rest/TaskTestITCase.java index bba9d3e..6862fdd 100644 --- a/core/src/test/java/org/apache/syncope/core/rest/TaskTestITCase.java +++ b/core/src/test/java/org/apache/syncope/core/rest/TaskTestITCase.java @@ -303,25 +303,6 @@ public class TaskTestITCase extends AbstractTest { } @Test - public void deal() { - try { - taskService.delete(0L); - } catch (SyncopeClientException e) { - assertEquals(Response.Status.NOT_FOUND, e.getType().getResponseStatus()); - } - TaskExecTO exec = taskService.execute(1L, false); - assertEquals(PropagationTaskExecStatus.SUBMITTED.name(), exec.getStatus()); - - ReportExecTO report = new ReportExecTO(); - report.setStatus(PropagationTaskExecStatus.SUCCESS.name()); - report.setMessage("OK"); - taskService.report(exec.getId(), report); - exec = taskService.readExecution(exec.getId()); - assertEquals(PropagationTaskExecStatus.SUCCESS.name(), exec.getStatus()); - assertEquals("OK", exec.getMessage()); - } - - @Test public void sync() throws Exception { removeTestUsers();