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


The following commit(s) were added to refs/heads/master by this push:
     new 30fb436  [Refactoring] Rely of CassandraVersionManager instead of its 
DAO
30fb436 is described below

commit 30fb436a27d2ad28a7abdbf7885583693a753b81
Author: Benoit Tellier <[email protected]>
AuthorDate: Mon Apr 6 10:57:18 2020 +0700

    [Refactoring] Rely of CassandraVersionManager instead of its DAO
---
 .../cassandra/mail/task/SolveMailboxInconsistenciesServiceTest.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/mailbox/cassandra/src/test/java/org/apache/james/mailbox/cassandra/mail/task/SolveMailboxInconsistenciesServiceTest.java
 
b/mailbox/cassandra/src/test/java/org/apache/james/mailbox/cassandra/mail/task/SolveMailboxInconsistenciesServiceTest.java
index ca2c2b1..b99367a 100644
--- 
a/mailbox/cassandra/src/test/java/org/apache/james/mailbox/cassandra/mail/task/SolveMailboxInconsistenciesServiceTest.java
+++ 
b/mailbox/cassandra/src/test/java/org/apache/james/mailbox/cassandra/mail/task/SolveMailboxInconsistenciesServiceTest.java
@@ -88,7 +88,7 @@ class SolveMailboxInconsistenciesServiceTest {
 
         assertThatThrownBy(() -> testee.fixMailboxInconsistencies(new 
Context()).block())
             .isInstanceOf(IllegalStateException.class)
-            .hasMessage("Schema version 6 is required in order to ensure 
mailboxPathV2DAO to be correctly populated, got Optional[5]");
+            .hasMessage("Schema version 6 is required in order to ensure 
mailboxPathV2DAO to be correctly populated, got 5");
     }
 
     @Test
@@ -97,7 +97,7 @@ class SolveMailboxInconsistenciesServiceTest {
 
         assertThatThrownBy(() -> testee.fixMailboxInconsistencies(new 
Context()).block())
             .isInstanceOf(IllegalStateException.class)
-            .hasMessage("Schema version 6 is required in order to ensure 
mailboxPathV2DAO to be correctly populated, got Optional.empty");
+            .hasMessage("Schema version 6 is required in order to ensure 
mailboxPathV2DAO to be correctly populated, got 2");
     }
 
     @Test


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to