james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [3/4] james-project git commit: JAMES-1888 Correct a test for MessageIdMapperTest
Date Tue, 14 Feb 2017 00:28:47 GMT
JAMES-1888 Correct a test for MessageIdMapperTest


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

Branch: refs/heads/master
Commit: b6feaa017534f9bbb3201f42c098e742a58dfa6e
Parents: fa590f6
Author: Benoit Tellier <btellier@linagora.com>
Authored: Mon Feb 13 18:51:53 2017 +0700
Committer: Benoit Tellier <btellier@linagora.com>
Committed: Mon Feb 13 18:51:53 2017 +0700

----------------------------------------------------------------------
 .../james/mailbox/store/mail/model/MessageIdMapperTest.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/b6feaa01/mailbox/store/src/test/java/org/apache/james/mailbox/store/mail/model/MessageIdMapperTest.java
----------------------------------------------------------------------
diff --git a/mailbox/store/src/test/java/org/apache/james/mailbox/store/mail/model/MessageIdMapperTest.java
b/mailbox/store/src/test/java/org/apache/james/mailbox/store/mail/model/MessageIdMapperTest.java
index b5c1070..fed386c 100644
--- a/mailbox/store/src/test/java/org/apache/james/mailbox/store/mail/model/MessageIdMapperTest.java
+++ b/mailbox/store/src/test/java/org/apache/james/mailbox/store/mail/model/MessageIdMapperTest.java
@@ -488,13 +488,13 @@ public class MessageIdMapperTest<T extends MapperProvider> {
             .newFlags(newFlags)
             .build();
         UpdatedFlags expectedUpdatedFlags2 = UpdatedFlags.builder()
-            .uid(message1.getUid())
+            .uid(message1InOtherMailbox.getUid())
             .modSeq(modSeqBenwaWorkMailbox)
             .oldFlags(new Flags())
             .newFlags(newFlags)
             .build();
         assertThat(flags).containsOnly(MapEntry.entry(benwaInboxMailbox.getMailboxId(), expectedUpdatedFlags),
-                MapEntry.entry(benwaWorkMailbox.getMailboxId(), expectedUpdatedFlags2));
+                MapEntry.entry(message1InOtherMailbox.getMailboxId(), expectedUpdatedFlags2));
     }
 
     @ContractTest


---------------------------------------------------------------------
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