Merge pull request #21606 from owncloud/special_characters_tests

Added test with special chars in group
This commit is contained in:
Thomas Müller 2016-01-13 10:55:50 +01:00
commit 4ce45c245a
1 changed files with 19 additions and 0 deletions

View 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 |
@ -257,6 +268,14 @@ Feature: provisioning
And the HTTP status code should be "200"
And group "new-group" does not exist
Scenario: Delete a group with special characters
Given As an "admin"
And group "España" exists
When sending "DELETE" to "/cloud/groups/España"
Then the OCS status code should be "100"
And the HTTP status code should be "200"
And group "España" does not exist
Scenario: get enabled apps
Given As an "admin"
When sending "GET" to "/cloud/apps?filter=enabled"