This is an automated email from the ASF dual-hosted git repository. rouazana pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit ef02ee9ff1dbc40d6ec90bb82649970597d2efb1 Author: Gautier DI FOLCO <gdifo...@linagora.com> AuthorDate: Tue May 12 15:40:05 2020 +0200 JAMES-3179 Fix SetMessageUpdateProcessorTest assertion definition --- .../apache/james/jmap/draft/methods/SetMessagesUpdateProcessorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/protocols/jmap-draft/src/test/java/org/apache/james/jmap/draft/methods/SetMessagesUpdateProcessorTest.java b/server/protocols/jmap-draft/src/test/java/org/apache/james/jmap/draft/methods/SetMessagesUpdateProcessorTest.java index b9c11cf..4741acb 100644 --- a/server/protocols/jmap-draft/src/test/java/org/apache/james/jmap/draft/methods/SetMessagesUpdateProcessorTest.java +++ b/server/protocols/jmap-draft/src/test/java/org/apache/james/jmap/draft/methods/SetMessagesUpdateProcessorTest.java @@ -257,7 +257,7 @@ public class SetMessagesUpdateProcessorTest { SetMessagesResponse result = sut.process(requestWithInvalidUpdate, null); // Then - assertThat(result.getNotUpdated()).isNotEmpty().describedAs("NotUpdated should not be empty"); + assertThat(result.getNotUpdated()).describedAs("NotUpdated should not be empty").isNotEmpty(); assertThat(result.getNotUpdated()).containsKey(requestMessageId); assertThat(result.getNotUpdated().get(requestMessageId).getProperties()).isPresent(); assertThat(result.getNotUpdated().get(requestMessageId).getProperties().get()).contains(invalidProperty); --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org