You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2020/10/16 03:54:36 UTC
[james-project] 04/06: JAMES-3407 Switch checks as overwise
possible on the first check can make the second one fail
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
commit db2dc80f3bd5f30be9ed62e1b67d5ac138e0e071
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Thu Oct 15 08:46:09 2020 +0700
JAMES-3407 Switch checks as overwise possible on the first check can make the second one fail
---
.../james/mailbox/cassandra/mail/CassandraMailboxMapperTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mailbox/cassandra/src/test/java/org/apache/james/mailbox/cassandra/mail/CassandraMailboxMapperTest.java b/mailbox/cassandra/src/test/java/org/apache/james/mailbox/cassandra/mail/CassandraMailboxMapperTest.java
index 2b9d1d7..a2a8f30 100644
--- a/mailbox/cassandra/src/test/java/org/apache/james/mailbox/cassandra/mail/CassandraMailboxMapperTest.java
+++ b/mailbox/cassandra/src/test/java/org/apache/james/mailbox/cassandra/mail/CassandraMailboxMapperTest.java
@@ -291,11 +291,11 @@ class CassandraMailboxMapperTest {
.block());
SoftAssertions.assertSoftly(Throwing.consumer(softly -> {
+ softly.assertThat(MailboxReactorUtils.blockOptional(testee.findMailboxByPath(MAILBOX_PATH)))
+ .isEmpty();
softly(softly)
.assertThat(testee.findMailboxById(MAILBOX_ID).block())
.isEqualTo(MAILBOX);
- softly.assertThat(MailboxReactorUtils.blockOptional(testee.findMailboxByPath(MAILBOX_PATH)))
- .isEmpty();
}));
}
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org