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 <[email protected]>
Authored: Tue Jun 28 11:03:57 2016 +0200
Committer: Antoine Duprat <[email protected]>
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 "[email protected]" and password 
"secret"
+    And a connected user "[email protected]"
+    And "[email protected]" 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 "[email protected]" mailbox "inbox" contains a message "1" with an 
attachment "2"
+    When "[email protected]" 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 "[email protected]" downloads "123"
     Then the user should receive a not found response


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

Reply via email to