You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by rc...@apache.org on 2024/03/18 04:02:43 UTC
(james-project) 04/08: JAMES-2586 Fix PostgresEmailGetMethodTest
This is an automated email from the ASF dual-hosted git repository.
rcordier pushed a commit to branch postgresql
in repository https://gitbox.apache.org/repos/asf/james-project.git
commit b71b7e0a99685cee6578360015f0136f5f155c59
Author: hung phan <hp...@linagora.com>
AuthorDate: Thu Mar 14 16:38:13 2024 +0700
JAMES-2586 Fix PostgresEmailGetMethodTest
---
.../apache/james/jmap/rfc8621/contract/EmailGetMethodContract.scala | 2 +-
.../apache/james/jmap/rfc8621/postgres/PostgresEmailGetMethodTest.java | 3 ---
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/EmailGetMethodContract.scala b/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/EmailGetMethodContract.scala
index 42afe9cbef..0de07c7e2e 100644
--- a/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/EmailGetMethodContract.scala
+++ b/server/protocols/jmap-rfc-8621-integration-tests/jmap-rfc-8621-integration-tests-common/src/main/scala/org/apache/james/jmap/rfc8621/contract/EmailGetMethodContract.scala
@@ -3769,7 +3769,7 @@ trait EmailGetMethodContract {
| "charset": "UTF-8",
| "size": 8,
| "partId": "1",
- | "blobId": "1_1",
+ | "blobId": "${messageId.serialize}_1",
| "type": "text/plain"
| }
|}""".stripMargin)
diff --git a/server/protocols/jmap-rfc-8621-integration-tests/postgres-jmap-rfc-8621-integration-tests/src/test/java/org/apache/james/jmap/rfc8621/postgres/PostgresEmailGetMethodTest.java b/server/protocols/jmap-rfc-8621-integration-tests/postgres-jmap-rfc-8621-integration-tests/src/test/java/org/apache/james/jmap/rfc8621/postgres/PostgresEmailGetMethodTest.java
index 96da1f79ea..43e5c293fc 100644
--- a/server/protocols/jmap-rfc-8621-integration-tests/postgres-jmap-rfc-8621-integration-tests/src/test/java/org/apache/james/jmap/rfc8621/postgres/PostgresEmailGetMethodTest.java
+++ b/server/protocols/jmap-rfc-8621-integration-tests/postgres-jmap-rfc-8621-integration-tests/src/test/java/org/apache/james/jmap/rfc8621/postgres/PostgresEmailGetMethodTest.java
@@ -22,10 +22,7 @@ package org.apache.james.jmap.rfc8621.postgres;
import org.apache.james.jmap.rfc8621.contract.EmailGetMethodContract;
import org.apache.james.mailbox.model.MessageId;
import org.apache.james.mailbox.postgres.PostgresMessageId;
-import org.junit.jupiter.api.Disabled;
-@Disabled
-// TODO Need to fix
public class PostgresEmailGetMethodTest extends PostgresBase implements EmailGetMethodContract {
public static final PostgresMessageId.Factory MESSAGE_ID_FACTORY = new PostgresMessageId.Factory();
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org