james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [04/10] james-project git commit: MAILBOX-351 Task details should include mailboxId when relevant
Date Thu, 29 Nov 2018 03:53:18 GMT
MAILBOX-351 Task details should include mailboxId when relevant


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/c88e353d
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/c88e353d
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/c88e353d

Branch: refs/heads/master
Commit: c88e353db257d182d6af74caa7906c6d5a27cbe2
Parents: a09ef44
Author: Benoit Tellier <btellier@linagora.com>
Authored: Mon Nov 26 10:09:29 2018 +0700
Committer: Benoit Tellier <btellier@linagora.com>
Committed: Thu Nov 29 10:52:45 2018 +0700

----------------------------------------------------------------------
 .../org/apache/james/webadmin/routes/ReindexingRoutesTest.java   | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/c88e353d/server/protocols/webadmin/webadmin-mailbox/src/test/java/org/apache/james/webadmin/routes/ReindexingRoutesTest.java
----------------------------------------------------------------------
diff --git a/server/protocols/webadmin/webadmin-mailbox/src/test/java/org/apache/james/webadmin/routes/ReindexingRoutesTest.java
b/server/protocols/webadmin/webadmin-mailbox/src/test/java/org/apache/james/webadmin/routes/ReindexingRoutesTest.java
index 08db547..a6ddc4e 100644
--- a/server/protocols/webadmin/webadmin-mailbox/src/test/java/org/apache/james/webadmin/routes/ReindexingRoutesTest.java
+++ b/server/protocols/webadmin/webadmin-mailbox/src/test/java/org/apache/james/webadmin/routes/ReindexingRoutesTest.java
@@ -444,6 +444,7 @@ class ReindexingRoutesTest {
                     .body("taskId", is(notNullValue()))
                     .body("type", is(SingleMailboxReindexingTask.MAILBOX_RE_INDEXING))
                     .body("additionalInformation.mailboxPath", is("#private:benwa@apache.org:INBOX"))
+                    .body("additionalInformation.mailboxId", is(mailboxId.serialize()))
                     .body("additionalInformation.successfullyReprocessMailCount", is(0))
                     .body("additionalInformation.failedReprocessedMailCount", is(0))
                     .body("startedDate", is(notNullValue()))
@@ -474,6 +475,7 @@ class ReindexingRoutesTest {
                     .body("taskId", is(notNullValue()))
                     .body("type", is(SingleMailboxReindexingTask.MAILBOX_RE_INDEXING))
                     .body("additionalInformation.mailboxPath", is("#private:benwa@apache.org:INBOX"))
+                    .body("additionalInformation.mailboxId", is(mailboxId.serialize()))
                     .body("additionalInformation.successfullyReprocessMailCount", is(1))
                     .body("additionalInformation.failedReprocessedMailCount", is(0))
                     .body("startedDate", is(notNullValue()))
@@ -609,6 +611,7 @@ class ReindexingRoutesTest {
                     .body("taskId", is(notNullValue()))
                     .body("type", is(SingleMessageReindexingTask.MESSAGE_RE_INDEXING))
                     .body("additionalInformation.mailboxPath", is("#private:benwa@apache.org:INBOX"))
+                    .body("additionalInformation.mailboxId", is(mailboxId.serialize()))
                     .body("additionalInformation.uid", is(1))
                     .body("startedDate", is(notNullValue()))
                     .body("submitDate", is(notNullValue()))
@@ -639,6 +642,7 @@ class ReindexingRoutesTest {
                     .body("taskId", is(notNullValue()))
                     .body("type", is(SingleMessageReindexingTask.MESSAGE_RE_INDEXING))
                     .body("additionalInformation.mailboxPath", is("#private:benwa@apache.org:INBOX"))
+                    .body("additionalInformation.mailboxId", is(mailboxId.serialize()))
                     .body("additionalInformation.uid", is((int) composedMessageId.getUid().asLong()))
                     .body("startedDate", is(notNullValue()))
                     .body("submitDate", is(notNullValue()))


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message