This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 052ad512c6545f7172752468cb25119cd9abf592 Author: Tran Tien Duc <[email protected]> AuthorDate: Mon May 13 17:57:35 2019 +0700 JAMES-2272 Make webadmin IT tests uses the right path --- .../james/webadmin/integration/WebAdminServerIntegrationTest.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/server/protocols/webadmin-integration-test/src/test/java/org/apache/james/webadmin/integration/WebAdminServerIntegrationTest.java b/server/protocols/webadmin-integration-test/src/test/java/org/apache/james/webadmin/integration/WebAdminServerIntegrationTest.java index 3df2137..081b2a0 100644 --- a/server/protocols/webadmin-integration-test/src/test/java/org/apache/james/webadmin/integration/WebAdminServerIntegrationTest.java +++ b/server/protocols/webadmin-integration-test/src/test/java/org/apache/james/webadmin/integration/WebAdminServerIntegrationTest.java @@ -254,7 +254,9 @@ public class WebAdminServerIntegrationTest { .get("taskId"); with() - .get("/task/" + taskId + "/await"); + .get("/tasks/" + taskId + "/await") + .then() + .body("status", is("completed")); Awaitility.await() .atMost(Duration.TEN_SECONDS) @@ -275,7 +277,9 @@ public class WebAdminServerIntegrationTest { .get("taskId"); with() - .get("/task/" + taskId + "/await"); + .get("/tasks/" + taskId + "/await") + .then() + .body("status", is("completed")); when() .get(VERSION) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
