You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by rc...@apache.org on 2020/10/12 07:40:08 UTC

[james-project] 01/12: JAMES-3425 `after` is not supposed to be inclusive so fix date of message to make tests happy

This is an automated email from the ASF dual-hosted git repository.

rcordier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 1c402ff6b0007076031c872980b024a1be2e449b
Author: Matthieu Baechler <ma...@apache.org>
AuthorDate: Sun Oct 11 18:44:47 2020 +0200

    JAMES-3425 `after` is not supposed to be inclusive so fix date of message to make tests happy
---
 .../james/mailbox/store/search/AbstractMessageSearchIndexTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mailbox/store/src/test/java/org/apache/james/mailbox/store/search/AbstractMessageSearchIndexTest.java b/mailbox/store/src/test/java/org/apache/james/mailbox/store/search/AbstractMessageSearchIndexTest.java
index b85fdeb..ddbb186 100644
--- a/mailbox/store/src/test/java/org/apache/james/mailbox/store/search/AbstractMessageSearchIndexTest.java
+++ b/mailbox/store/src/test/java/org/apache/james/mailbox/store/search/AbstractMessageSearchIndexTest.java
@@ -175,10 +175,10 @@ public abstract class AbstractMessageSearchIndexTest {
             RECENT,
             new Flags(Flags.Flag.SEEN)).getId();
         // sentDate: Thu, 04 Jun 2015 07:36:08 +0000
-        // Internal date : 2014/07/02 00:00:00.000
+        // Internal date : 2014/07/02 00:00:01.000
         m7 = inboxMessageManager.appendMessage(
             ClassLoader.getSystemResourceAsStream("eml/htmlMail.eml"),
-            new Date(1404252000000L),
+            new Date(1404252001000L),
             session,
             NOT_RECENT,
             new Flags()).getId();


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