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


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

Reply via email to