james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adup...@apache.org
Subject [1/4] james-project git commit: JAMES-1779 Fix DownloadGet feature
Date Tue, 28 Jun 2016 09:52:25 GMT
Repository: james-project
Updated Branches:
  refs/heads/master 5f30b315f -> 6468afca0


JAMES-1779 Fix DownloadGet feature


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/d43fb7d4
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/d43fb7d4
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/d43fb7d4

Branch: refs/heads/master
Commit: d43fb7d461b664d30cfbcb900fb8acfc5971fb8a
Parents: 5f30b31
Author: Antoine Duprat <aduprat@linagora.com>
Authored: Tue Jun 28 11:03:57 2016 +0200
Committer: Antoine Duprat <aduprat@linagora.com>
Committed: Tue Jun 28 11:05:35 2016 +0200

----------------------------------------------------------------------
 .../src/test/resources/cucumber/DownloadGet.feature         | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/d43fb7d4/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/DownloadGet.feature
----------------------------------------------------------------------
diff --git a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/DownloadGet.feature
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/DownloadGet.feature
index cd92d8a..7b02ee8 100644
--- a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/DownloadGet.feature
+++ b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/resources/cucumber/DownloadGet.feature
@@ -4,13 +4,14 @@ Feature: Download GET
 
   Background:
     Given a domain named "domain.tld"
-    And a current user with username "username@domain.tld" and password "secret"
+    And a connected user "username@domain.tld"
+    And "username@domain.tld" has a mailbox "inbox"
 
   Scenario: Getting an attachment previously stored
-    Given a message containing an attachment
-    When getting the attachment with its correct blobId
+    Given "username@domain.tld" mailbox "inbox" contains a message "1" with an attachment
"2"
+    When "username@domain.tld" downloads "2"
     Then the user should receive that attachment
 
   Scenario: Getting an attachment with an unknown blobId
-    When getting the attachment with an unknown blobId
+    When "username@domain.tld" downloads "123"
     Then the user should receive a not found response


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


Mime
View raw message