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 6050a4f4743845521ebda0a86eee0b2ad3acd9f5
Author: Rene Cordier <rcord...@linagora.com>
AuthorDate: Tue Dec 10 16:00:17 2019 +0700

    [Refactoring] Move JPAMailboxMessageTest to JUnit 5
---
 .../james/mailbox/jpa/mail/model/openjpa/JPAMailboxMessageTest.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/mailbox/jpa/src/test/java/org/apache/james/mailbox/jpa/mail/model/openjpa/JPAMailboxMessageTest.java
 
b/mailbox/jpa/src/test/java/org/apache/james/mailbox/jpa/mail/model/openjpa/JPAMailboxMessageTest.java
index 3c598c7..be0f6c5 100644
--- 
a/mailbox/jpa/src/test/java/org/apache/james/mailbox/jpa/mail/model/openjpa/JPAMailboxMessageTest.java
+++ 
b/mailbox/jpa/src/test/java/org/apache/james/mailbox/jpa/mail/model/openjpa/JPAMailboxMessageTest.java
@@ -23,15 +23,15 @@ import static org.assertj.core.api.Assertions.assertThat;
 import java.nio.charset.StandardCharsets;
 
 import org.apache.commons.io.IOUtils;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
 
-public class JPAMailboxMessageTest {
+class JPAMailboxMessageTest {
 
     /**
      * Even though there should never be a null body, it does happen. See 
JAMES-2384
      */
     @Test
-    public void getFullContentShouldReturnOriginalContentWhenBodyFieldIsNull() 
throws Exception {
+    void getFullContentShouldReturnOriginalContentWhenBodyFieldIsNull() throws 
Exception {
 
         // Prepare the message
         byte[] content = "Subject: the null 
message".getBytes(StandardCharsets.UTF_8);


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to