Repository: james-project Updated Branches: refs/heads/master adef53b91 -> 1209385ca
JAMES-2201 Update attachment Id in JMAP intagration tests Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/1209385c Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/1209385c Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/1209385c Branch: refs/heads/master Commit: 1209385cac6b8c463dd417143cc5ef883be60d01 Parents: adef53b Author: benwa <btell...@linagora.com> Authored: Thu Nov 9 13:30:47 2017 +0700 Committer: benwa <btell...@linagora.com> Committed: Thu Nov 9 15:42:13 2017 +0700 ---------------------------------------------------------------------- .../integration/cucumber/DownloadStepdefs.java | 2 +- .../integration/cucumber/UploadStepdefs.java | 2 +- .../test/resources/cucumber/GetMessages.feature | 24 ++++++++++---------- 3 files changed, 14 insertions(+), 14 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/james-project/blob/1209385c/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/methods/integration/cucumber/DownloadStepdefs.java ---------------------------------------------------------------------- diff --git a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/methods/integration/cucumber/DownloadStepdefs.java b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/methods/integration/cucumber/DownloadStepdefs.java index 05ad947..c98c130 100644 --- a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/methods/integration/cucumber/DownloadStepdefs.java +++ b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/methods/integration/cucumber/DownloadStepdefs.java @@ -62,7 +62,7 @@ import cucumber.runtime.java.guice.ScenarioScoped; @ScenarioScoped public class DownloadStepdefs { - private static final String ONE_ATTACHMENT_EML_ATTACHMENT_BLOB_ID = "356b4005bf16f501505b144a2503b5c922837dee"; + private static final String ONE_ATTACHMENT_EML_ATTACHMENT_BLOB_ID = "913ee2d903a68c3e8cb51169d34cf9ec257323c1bee254c0c7ab820930fdb8e7"; private static final String EXPIRED_ATTACHMENT_TOKEN = "usera@domain.tld_" + "2016-06-29T13:41:22.124Z_" + "DiZa0O14MjLWrAA8P6MG35Gt5CBp7mt5U1EH/M++rIoZK7nlGJ4dPW0dvZD7h4m3o5b/Yd8DXU5x2x4+s0HOOKzD7X0RMlsU7JHJMNLvTvRGWF/C+MUyC8Zce7DtnRVPEQX2uAZhL2PBABV07Vpa8kH+NxoS9CL955Bc1Obr4G+KN2JorADlocFQA6ElXryF5YS/HPZSvq1MTC6aJIP0ku8WRpRnbwgwJnn26YpcHXcJjbkCBtd9/BhlMV6xNd2hTBkfZmYdoNo+UKBaXWzLxAlbLuxjpxwvDNJfOEyWFPgHDoRvzP+G7KzhVWjanHAHrhF0GilEa/MKpOI1qHBSwA=="; http://git-wip-us.apache.org/repos/asf/james-project/blob/1209385c/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/methods/integration/cucumber/UploadStepdefs.java ---------------------------------------------------------------------- diff --git a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/methods/integration/cucumber/UploadStepdefs.java b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/methods/integration/cucumber/UploadStepdefs.java index 87e1f3b..fea5838 100644 --- a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/methods/integration/cucumber/UploadStepdefs.java +++ b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/methods/integration/cucumber/UploadStepdefs.java @@ -53,7 +53,7 @@ import cucumber.runtime.java.guice.ScenarioScoped; @ScenarioScoped public class UploadStepdefs { - private static final String _1M_ZEROED_FILE_BLOB_ID = "005caa8061cff547e3310182f394da6f8081d6a5"; + private static final String _1M_ZEROED_FILE_BLOB_ID = "35d87cc65060b896a0541713e7868f5cb5f8be3f563ccf82b72e61c2fee67404"; private static final int _1M = 1024 * 1024; private static final int _10M = 10 * _1M; http://git-wip-us.apache.org/repos/asf/james-project/blob/1209385c/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/GetMessages.feature ---------------------------------------------------------------------- diff --git a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/GetMessages.feature b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/GetMessages.feature index 07bcf8a..e786976 100644 --- a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/GetMessages.feature +++ b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/GetMessages.feature @@ -189,19 +189,19 @@ Feature: GetMessages method And the hasAttachment of the message is "true" And the list of attachments of the message contains 2 attachments And the first attachment is: - |key | value | - |blobId |"dc07cf16944187c1935daedc1bc89231635be63f" | - |type |"image/jpeg" | - |size |846 | - |cid |null | - |isInline |false | + |key | value | + |blobId |"81dad497ef270bd4537f5b43906aa88ad2e7168744c572be9a7414707727bf58" | + |type |"image/jpeg" | + |size |846 | + |cid |null | + |isInline |false | And the second attachment is: - |key | value | - |blobId |"21c3a55f516eeceff69969f3c40318f926404a6a" | - |type |"image/jpeg" | - |size |597 | - |cid |"part1.37a15c92.a7c34...@linagora.com" | - |isInline |true | + |key | value | + |blobId |"632b5341bbe044d26e0916b82a689282cc0891b806884b4d5a2339ea90b28e85" | + |type |"image/jpeg" | + |size |597 | + |cid |"part1.37a15c92.a7c34...@linagora.com" | + |isInline |true | Scenario: Retrieving message should return attachments and html body when some attachments and html message Given "al...@domain.tld" has a message "m1" in "INBOX" mailbox with two attachments --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org