summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorSergio Bertolín <sbertolin@solidgear.es>2016-01-11 09:38:49 +0000
committerRoeland Jago Douma <rullzer@owncloud.com>2016-01-13 09:49:19 +0100
commitfb3dbe24db39766898fce1d9a090f0469aa9bc0d (patch)
tree2ddf328b8f87d098732075c18569e8afa9733f91 /build
parentc5a200c4198de951dabdd3f783ade655b8ea6434 (diff)
downloadnextcloud-server-fb3dbe24db39766898fce1d9a090f0469aa9bc0d.tar.gz
nextcloud-server-fb3dbe24db39766898fce1d9a090f0469aa9bc0d.zip
Added test with spcial chars in group
Diffstat (limited to 'build')
-rw-r--r--build/integration/features/provisioning-v1.feature11
1 files changed, 11 insertions, 0 deletions
diff --git a/build/integration/features/provisioning-v1.feature b/build/integration/features/provisioning-v1.feature
index 467ac448e94..4c3023ca1c9 100644
--- a/build/integration/features/provisioning-v1.feature
+++ b/build/integration/features/provisioning-v1.feature
@@ -70,6 +70,16 @@ Feature: provisioning
And the HTTP status code should be "200"
And group "new-group" exists
+ Scenario: Create a group with special characters
+ Given As an "admin"
+ And group "España" does not exist
+ When sending "POST" to "/cloud/groups" with
+ | groupid | España |
+ | password | 123456 |
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"
+ And group "España" exists
+
Scenario: adding user to a group without sending the group
Given As an "admin"
And user "brand-new-user" exists
@@ -134,6 +144,7 @@ Feature: provisioning
And group "admin" exists
When sending "GET" to "/cloud/groups"
Then groups returned are
+ | España |
| admin |
| new-group |