]> source.dussan.org Git - nextcloud-server.git/commitdiff
Added test with spcial chars in group
authorSergio Bertolín <sbertolin@solidgear.es>
Mon, 11 Jan 2016 09:38:49 +0000 (09:38 +0000)
committerRoeland Jago Douma <rullzer@owncloud.com>
Wed, 13 Jan 2016 08:49:19 +0000 (09:49 +0100)
build/integration/features/provisioning-v1.feature

index 467ac448e9425d36d7687312145a1194eedcd63f..4c3023ca1c9ab7e2aee1cecded0ad3d96e46e353 100644 (file)
@@ -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 |