You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2019/05/14 02:41:03 UTC

[james-project] 01/04: JAMES-2272 Make webadmin IT tests uses the right path

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 <dt...@linagora.com>
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org