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 <[email protected]> Authored: Mon Feb 13 18:51:53 2017 +0700 Committer: Benoit Tellier <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
