Skip to content

Commit

Permalink
Minor typo fixes in acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-davis committed May 3, 2022
1 parent 2446c39 commit 8560c3b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand All @@ -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> |
Expand All @@ -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> |
Expand Down
8 changes: 4 additions & 4 deletions tests/acceptance/features/bootstrap/SpacesContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public function getSpaceByNameManager(string $user, string $spaceName): array {
}

/**
* 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
Expand Down Expand Up @@ -2080,7 +2080,7 @@ public function userHasRestoredSpaceRequest(
* @return void
* @throws GuzzleException
*/
public function userListAllDeletedFilesinTrash(
public function userListAllDeletedFilesInTrash(
string $user,
string $spaceName
): void {
Expand Down Expand Up @@ -2122,7 +2122,7 @@ public function getObjectsInTrashbin(
string $user,
string $spaceName
): array {
$this->userListAllDeletedFilesinTrash($user, $spaceName);
$this->userListAllDeletedFilesInTrash($user, $spaceName);
$this->featureContext->theHTTPStatusCodeShouldBe(
207,
"Expected response status code should be 207"
Expand All @@ -2143,7 +2143,7 @@ public function getObjectsInTrashbin(
* @return void
* @throws GuzzleException
*/
public function checkExistanceOfObjectsInTrashbin(
public function checkExistenceOfObjectsInTrashbin(
string $user,
string $object,
string $shouldOrNot,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ objectClass: olcSchemaConfig
cn: owncloud
olcAttributeTypes: ( 1.3.6.1.4.1.39430.1.1.1 NAME 'ownCloudQuota' DESC 'User Quota (e.g. 2 GB)' EQUALITY caseExactMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
olcAttributeTypes: ( 1.3.6.1.4.1.39430.1.1.2 NAME 'ownCloudUUID' DESC 'A non-reassignable and persistent account ID)' EQUALITY uuidMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.1.16.1 SINGLE-VALUE )
olcAttributeTypes: ( 1.3.6.1.4.1.39430.1.1.3 NAME 'ownCloudSelector' DESC 'A selector attribute for a route in the ownCloud Infinte Scale proxy)' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
olcAttributeTypes: ( 1.3.6.1.4.1.39430.1.1.3 NAME 'ownCloudSelector' DESC 'A selector attribute for a route in the ownCloud Infinite Scale proxy)' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
olcObjectClasses: ( 1.3.6.1.4.1.39430.1.2.1 NAME 'ownCloud' DESC 'ownCloud LDAP Schema' AUXILIARY MAY ( ownCloudQuota $ ownCloudUUID $ ownCloudSelector ) )
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gomplate \
-f /etc/templates/oidc.config.php \
-o ${OWNCLOUD_VOLUME_CONFIG}/oidc.config.php

# we need at least version 2.1.0 of the oenidconnect app
# we need at least version 2.1.0 of the openidconnect app
occ market:upgrade --major openidconnect
occ app:enable openidconnect

Expand Down

0 comments on commit 8560c3b

Please sign in to comment.