Minor typo fixes in acceptance tests

This commit is contained in:
Phil Davis
2022-05-03 09:48:12 +05:45
parent 2446c3927e
commit 8560c3bc00
4 changed files with 9 additions and 9 deletions
@@ -29,7 +29,7 @@ Feature: Share a file or folder that is inside a space via public link
And user "Alice" has uploaded a file inside space "share sub-item" with content "some content" to "folder/file.txt"
Scenario Outline: An user-owner can share an entrity inside project space via public link
Scenario Outline: An user-owner can share an entity inside project space via public link
When user "Alice" creates a public link share inside of space "share sub-item" with settings:
| path | <entity> |
| shareType | 3 |
@@ -52,7 +52,7 @@ Feature: Share a file or folder that is inside a space via public link
| folder/file.txt | 3 | 123 | link | 2042-03-25T23:59:59+0100 |
Scenario Outline: An user participant of the project space with space manager role can share an entrity inside project space via public link
Scenario Outline: An user participant of the project space with space manager role can share an entity inside project space via public link
Given user "Alice" has shared a space "share sub-item" to user "Brian" with role "manager"
When user "Brian" creates a public link share inside of space "share sub-item" with settings:
| path | <entity> |
@@ -72,7 +72,7 @@ Feature: Share a file or folder that is inside a space via public link
| folder/file.txt |
Scenario Outline: An user participant of the project space without space manager role cannot share an entrity inside project space via public link
Scenario Outline: An user participant of the project space without space manager role cannot share an entity inside project space via public link
Given user "Alice" has shared a space "share sub-item" to user "Brian" with role "<spaceRole>"
When user "Brian" creates a public link share inside of space "share sub-item" with settings:
| path | <entity> |
@@ -239,7 +239,7 @@ class SpacesContext implements Context {
}
/**
* The method finds file by fileName and spaceName and returns data of file wich contains in responseHeader
* The method finds file by fileName and spaceName and returns data of file which contains in responseHeader
* fileName contains the path, if the file is in the folder
*
* @param string $user
@@ -2080,7 +2080,7 @@ class SpacesContext implements Context {
* @return void
* @throws GuzzleException
*/
public function userListAllDeletedFilesinTrash(
public function userListAllDeletedFilesInTrash(
string $user,
string $spaceName
): void {
@@ -2122,7 +2122,7 @@ class SpacesContext implements Context {
string $user,
string $spaceName
): array {
$this->userListAllDeletedFilesinTrash($user, $spaceName);
$this->userListAllDeletedFilesInTrash($user, $spaceName);
$this->featureContext->theHTTPStatusCodeShouldBe(
207,
"Expected response status code should be 207"
@@ -2143,7 +2143,7 @@ class SpacesContext implements Context {
* @return void
* @throws GuzzleException
*/
public function checkExistanceOfObjectsInTrashbin(
public function checkExistenceOfObjectsInTrashbin(
string $user,
string $object,
string $shouldOrNot,