mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2025-12-31 01:10:20 -06:00
rename list shares step (#8337)
This commit is contained in:
@@ -21,9 +21,9 @@ Feature: resources shared by user
|
||||
| sharee | Brian |
|
||||
| shareType | user |
|
||||
| permissionsRole | Viewer |
|
||||
When user "Alice" lists the resources shared by her using the Graph API
|
||||
When user "Alice" lists the shares shared by her using the Graph API
|
||||
Then the HTTP status code should be "200"
|
||||
And the JSON data of the response should contain file name "textfile.txt" with the following data:
|
||||
And the JSON data of the response should contain resource "textfile.txt" with the following data:
|
||||
"""
|
||||
{
|
||||
"type": "object",
|
||||
@@ -146,9 +146,9 @@ Feature: resources shared by user
|
||||
| sharee | Brian |
|
||||
| shareType | user |
|
||||
| permissionsRole | Viewer |
|
||||
When user "Alice" lists the resources shared by her using the Graph API
|
||||
When user "Alice" lists the shares shared by her using the Graph API
|
||||
Then the HTTP status code should be "200"
|
||||
And the JSON data of the response should contain file name "textfile.txt" with the following data:
|
||||
And the JSON data of the response should contain resource "textfile.txt" with the following data:
|
||||
"""
|
||||
{
|
||||
"type": "object",
|
||||
@@ -270,9 +270,9 @@ Feature: resources shared by user
|
||||
| sharee | Brian |
|
||||
| shareType | user |
|
||||
| permissionsRole | Viewer |
|
||||
When user "Alice" lists the resources shared by her using the Graph API
|
||||
When user "Alice" lists the shares shared by her using the Graph API
|
||||
Then the HTTP status code should be "200"
|
||||
And the JSON data of the response should contain file name "FolderToShare" with the following data:
|
||||
And the JSON data of the response should contain resource "FolderToShare" with the following data:
|
||||
"""
|
||||
{
|
||||
"type": "object",
|
||||
@@ -395,9 +395,9 @@ Feature: resources shared by user
|
||||
| sharee | Brian |
|
||||
| shareType | user |
|
||||
| permissionsRole | Viewer |
|
||||
When user "Alice" lists the resources shared by her using the Graph API
|
||||
When user "Alice" lists the shares shared by her using the Graph API
|
||||
Then the HTTP status code should be "200"
|
||||
And the JSON data of the response should contain file name "textfile.txt" with the following data:
|
||||
And the JSON data of the response should contain resource "textfile.txt" with the following data:
|
||||
"""
|
||||
{
|
||||
"type": "object",
|
||||
@@ -508,7 +508,7 @@ Feature: resources shared by user
|
||||
}
|
||||
}
|
||||
"""
|
||||
And the JSON data of the response should contain file name "FolderToShare" with the following data:
|
||||
And the JSON data of the response should contain resource "FolderToShare" with the following data:
|
||||
"""
|
||||
{
|
||||
"type": "object",
|
||||
@@ -626,9 +626,9 @@ Feature: resources shared by user
|
||||
| sharee | Brian |
|
||||
| shareType | user |
|
||||
| permissionsRole | Viewer |
|
||||
When user "Alice" lists the resources shared by her using the Graph API
|
||||
When user "Alice" lists the shares shared by her using the Graph API
|
||||
Then the HTTP status code should be "200"
|
||||
And the JSON data of the response should contain file name "textfile.txt" with the following data:
|
||||
And the JSON data of the response should contain resource "textfile.txt" with the following data:
|
||||
"""
|
||||
{
|
||||
"type": "object",
|
||||
@@ -754,9 +754,9 @@ Feature: resources shared by user
|
||||
| sharee | Brian |
|
||||
| shareType | user |
|
||||
| permissionsRole | Viewer |
|
||||
When user "Alice" lists the resources shared by her using the Graph API
|
||||
When user "Alice" lists the shares shared by her using the Graph API
|
||||
Then the HTTP status code should be "200"
|
||||
And the JSON data of the response should contain file name "textfile.txt" with the following data:
|
||||
And the JSON data of the response should contain resource "textfile.txt" with the following data:
|
||||
"""
|
||||
{
|
||||
"type": "object",
|
||||
@@ -881,9 +881,9 @@ Feature: resources shared by user
|
||||
| sharee | Brian |
|
||||
| shareType | user |
|
||||
| permissionsRole | Viewer |
|
||||
When user "Alice" lists the resources shared by her using the Graph API
|
||||
When user "Alice" lists the shares shared by her using the Graph API
|
||||
Then the HTTP status code should be "200"
|
||||
And the JSON data of the response should contain file name "FolderToShare" with the following data:
|
||||
And the JSON data of the response should contain resource "FolderToShare" with the following data:
|
||||
"""
|
||||
{
|
||||
"type": "object",
|
||||
@@ -1009,9 +1009,9 @@ Feature: resources shared by user
|
||||
| sharee | Brian |
|
||||
| shareType | user |
|
||||
| permissionsRole | Viewer |
|
||||
When user "Alice" lists the resources shared by her using the Graph API
|
||||
When user "Alice" lists the shares shared by her using the Graph API
|
||||
Then the HTTP status code should be "200"
|
||||
And the JSON data of the response should contain file name "textfile.txt" with the following data:
|
||||
And the JSON data of the response should contain resource "textfile.txt" with the following data:
|
||||
"""
|
||||
{
|
||||
"type": "object",
|
||||
@@ -1122,7 +1122,7 @@ Feature: resources shared by user
|
||||
}
|
||||
}
|
||||
"""
|
||||
And the JSON data of the response should contain file name "FolderToShare" with the following data:
|
||||
And the JSON data of the response should contain resource "FolderToShare" with the following data:
|
||||
"""
|
||||
{
|
||||
"type": "object",
|
||||
|
||||
@@ -20,7 +20,7 @@ Feature: an user gets the resources shared to them
|
||||
| sharee | Brian |
|
||||
| shareType | user |
|
||||
| permissionsRole | Viewer |
|
||||
When user "Brian" lists the resources shared with him using the Graph API
|
||||
When user "Brian" lists the shares shared with him using the Graph API
|
||||
Then the HTTP status code should be "200"
|
||||
And the JSON data of the response should match
|
||||
"""
|
||||
@@ -263,7 +263,7 @@ Feature: an user gets the resources shared to them
|
||||
| sharee | Brian |
|
||||
| shareType | user |
|
||||
| permissionsRole | Viewer |
|
||||
When user "Brian" lists the resources shared with him using the Graph API
|
||||
When user "Brian" lists the shares shared with him using the Graph API
|
||||
Then the HTTP status code should be "200"
|
||||
And the JSON data of the response should match
|
||||
"""
|
||||
|
||||
@@ -2507,7 +2507,7 @@ class GraphContext implements Context {
|
||||
}
|
||||
|
||||
/**
|
||||
* @When user :user lists the resources shared with him/her using the Graph API
|
||||
* @When user :user lists the shares shared with him/her using the Graph API
|
||||
*
|
||||
* @param string $user
|
||||
*
|
||||
@@ -2527,7 +2527,7 @@ class GraphContext implements Context {
|
||||
}
|
||||
|
||||
/**
|
||||
* @When user :user lists the resources shared by him/her using the Graph API
|
||||
* @When user :user lists the shares shared by him/her using the Graph API
|
||||
*
|
||||
* @param string $user
|
||||
*
|
||||
@@ -2547,7 +2547,7 @@ class GraphContext implements Context {
|
||||
}
|
||||
|
||||
/**
|
||||
* @Then /^the JSON data of the response should (not )?contain file name "([^"]*)" with the following data:?$/
|
||||
* @Then /^the JSON data of the response should (not )?contain resource "([^"]*)" with the following data:?$/
|
||||
*
|
||||
* @param string $shouldOrNot (not| )
|
||||
* @param string $fileName
|
||||
|
||||
Reference in New Issue
Block a user