Unverified Commit 3dd462d3 authored by Sergio Bertolin's avatar Sergio Bertolin Committed by Vincent Petry
Browse files

Fixed scenario getting all shares of a user using that user

parent 87dcdff5
......@@ -219,12 +219,13 @@ Feature: sharing
Scenario: getting all shares of a user using that user
Given user "user0" exists
And user "user1" exists
And file "textfile0.txt" of user "user0" is shared with user "user1"
And User "user0" moved file "/textfile0.txt" to "/file_to_share.txt"
And file "file_to_share.txt" of user "user0" is shared with user "user1"
And As an "user0"
When sending "GET" to "/apps/files_sharing/api/v1/shares"
Then the OCS status code should be "100"
And the HTTP status code should be "200"
And File "textfile0.txt" should be included in the response
And File "file_to_share.txt" should be included in the response
Scenario: getting all shares of a user using another user
Given user "user0" exists
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment