summaryrefslogtreecommitdiffstats
path: root/build/integration/features/provisioning-v1.feature
diff options
context:
space:
mode:
authorPytal <24800714+Pytal@users.noreply.github.com>2021-06-09 15:33:57 -0700
committerGitHub <noreply@github.com>2021-06-09 15:33:57 -0700
commita416d508deff14f2c1902e9e16bd22bf7e345817 (patch)
treef51473ee1e6399de1bd8656dacc7707d044d5fa0 /build/integration/features/provisioning-v1.feature
parentbb2b946c51459a0a16b745fe0d9605d26c7a3875 (diff)
parente16682aeda94c3c86be131371c35cb4255b86f3a (diff)
downloadnextcloud-server-a416d508deff14f2c1902e9e16bd22bf7e345817.tar.gz
nextcloud-server-a416d508deff14f2c1902e9e16bd22bf7e345817.zip
Merge pull request #27089 from m7913d/feature/addGroupDisplayNames
[ProvisioningAPI] Allow specifying group display name during creation
Diffstat (limited to 'build/integration/features/provisioning-v1.feature')
-rw-r--r--build/integration/features/provisioning-v1.feature17
1 files changed, 17 insertions, 0 deletions
diff --git a/build/integration/features/provisioning-v1.feature b/build/integration/features/provisioning-v1.feature
index e56c86a2d4f..dec6d2213e3 100644
--- a/build/integration/features/provisioning-v1.feature
+++ b/build/integration/features/provisioning-v1.feature
@@ -231,6 +231,21 @@ Feature: provisioning
Then the OCS status code should be "100"
And the HTTP status code should be "200"
And group "new-group" exists
+ And group "new-group" has
+ | displayname | new-group |
+
+ Scenario: Create a group with custom display name
+ Given As an "admin"
+ And group "new-group" does not exist
+ When sending "POST" to "/cloud/groups" with
+ | groupid | new-group |
+ | password | 123456 |
+ | displayname | new-group-displayname |
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"
+ And group "new-group" exists
+ And group "new-group" has
+ | displayname | new-group-displayname |
Scenario: Create a group with special characters
Given As an "admin"
@@ -241,6 +256,8 @@ Feature: provisioning
Then the OCS status code should be "100"
And the HTTP status code should be "200"
And group "España" exists
+ And group "España" has
+ | displayname | España |
Scenario: adding user to a group without sending the group
Given As an "admin"