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 c4b17e23634b2d512cf25a3ba09e29a53f1afc73
Author: Maksim Meliashchuk <[email protected]>
AuthorDate: Tue Aug 1 11:08:54 2023 +0300

    JAMES-2156 getAttachmentsShouldReturnTheAttachmentsWhenSome() test enabled
---
 .../apache/james/mailbox/store/mail/model/AttachmentMapperTest.java   | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git 
a/mailbox/store/src/test/java/org/apache/james/mailbox/store/mail/model/AttachmentMapperTest.java
 
b/mailbox/store/src/test/java/org/apache/james/mailbox/store/mail/model/AttachmentMapperTest.java
index 1fe637f3df..a866a2e516 100644
--- 
a/mailbox/store/src/test/java/org/apache/james/mailbox/store/mail/model/AttachmentMapperTest.java
+++ 
b/mailbox/store/src/test/java/org/apache/james/mailbox/store/mail/model/AttachmentMapperTest.java
@@ -37,7 +37,6 @@ import com.google.common.io.ByteSource;
 
 import org.assertj.core.api.SoftAssertions;
 import org.junit.jupiter.api.BeforeEach;
-import org.junit.jupiter.api.Disabled;
 import org.junit.jupiter.api.Test;
 
 import static org.assertj.core.api.Assertions.assertThat;
@@ -122,7 +121,7 @@ public abstract class AttachmentMapperTest {
 
         MessageId messageId1 = generateMessageId();
         AttachmentMetadata stored = 
attachmentMapper.storeAttachments(ImmutableList.of(ParsedAttachment.builder()
-            .contentType("content")
+            .contentType(content)
             .content(ByteSource.wrap(bytes))
             .noName()
             .noCid()
@@ -147,7 +146,6 @@ public abstract class AttachmentMapperTest {
     }
 
     @Test
-    @Disabled
     protected void getAttachmentsShouldReturnTheAttachmentsWhenSome() throws 
Exception {
         //Given
         ContentType content1 = ContentType.of("content");


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

Reply via email to