From 8560c3bc00201936189941dad12b1b7ba86c342e Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Tue, 3 May 2022 09:48:12 +0545 Subject: [PATCH] Minor typo fixes in acceptance tests --- .../apiSpaces/shareSubItemOfSpaceViaPublicLink.feature | 6 +++--- tests/acceptance/features/bootstrap/SpacesContext.php | 8 ++++---- .../drone/ldap/ldif/10_owncloud_schema.ldif | 2 +- .../drone/oc10/10-custom-config.sh | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/acceptance/features/apiSpaces/shareSubItemOfSpaceViaPublicLink.feature b/tests/acceptance/features/apiSpaces/shareSubItemOfSpaceViaPublicLink.feature index 75ddbe0eff0..75dc8fe238d 100644 --- a/tests/acceptance/features/apiSpaces/shareSubItemOfSpaceViaPublicLink.feature +++ b/tests/acceptance/features/apiSpaces/shareSubItemOfSpaceViaPublicLink.feature @@ -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 | | | 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 | | @@ -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 "" When user "Brian" creates a public link share inside of space "share sub-item" with settings: | path | | diff --git a/tests/acceptance/features/bootstrap/SpacesContext.php b/tests/acceptance/features/bootstrap/SpacesContext.php index 5f9c23357d0..78d843fd0e3 100644 --- a/tests/acceptance/features/bootstrap/SpacesContext.php +++ b/tests/acceptance/features/bootstrap/SpacesContext.php @@ -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 @@ -2080,7 +2080,7 @@ public function userHasRestoredSpaceRequest( * @return void * @throws GuzzleException */ - public function userListAllDeletedFilesinTrash( + public function userListAllDeletedFilesInTrash( string $user, string $spaceName ): void { @@ -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" @@ -2143,7 +2143,7 @@ public function getObjectsInTrashbin( * @return void * @throws GuzzleException */ - public function checkExistanceOfObjectsInTrashbin( + public function checkExistenceOfObjectsInTrashbin( string $user, string $object, string $shouldOrNot, diff --git a/tests/parallelDeployAcceptance/drone/ldap/ldif/10_owncloud_schema.ldif b/tests/parallelDeployAcceptance/drone/ldap/ldif/10_owncloud_schema.ldif index bff48c367e5..85264d97de4 100644 --- a/tests/parallelDeployAcceptance/drone/ldap/ldif/10_owncloud_schema.ldif +++ b/tests/parallelDeployAcceptance/drone/ldap/ldif/10_owncloud_schema.ldif @@ -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 ) ) diff --git a/tests/parallelDeployAcceptance/drone/oc10/10-custom-config.sh b/tests/parallelDeployAcceptance/drone/oc10/10-custom-config.sh index 47bcf2668e1..d5ace8a6a8d 100755 --- a/tests/parallelDeployAcceptance/drone/oc10/10-custom-config.sh +++ b/tests/parallelDeployAcceptance/drone/oc10/10-custom-config.sh @@ -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