Merge pull request #21606 from owncloud/special_characters_tests
Added test with special chars in group
This commit is contained in:
commit
4ce45c245a
|
@ -70,6 +70,16 @@ Feature: provisioning
|
||||||
And the HTTP status code should be "200"
|
And the HTTP status code should be "200"
|
||||||
And group "new-group" exists
|
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
|
Scenario: adding user to a group without sending the group
|
||||||
Given As an "admin"
|
Given As an "admin"
|
||||||
And user "brand-new-user" exists
|
And user "brand-new-user" exists
|
||||||
|
@ -134,6 +144,7 @@ Feature: provisioning
|
||||||
And group "admin" exists
|
And group "admin" exists
|
||||||
When sending "GET" to "/cloud/groups"
|
When sending "GET" to "/cloud/groups"
|
||||||
Then groups returned are
|
Then groups returned are
|
||||||
|
| España |
|
||||||
| admin |
|
| admin |
|
||||||
| new-group |
|
| new-group |
|
||||||
|
|
||||||
|
@ -257,6 +268,14 @@ Feature: provisioning
|
||||||
And the HTTP status code should be "200"
|
And the HTTP status code should be "200"
|
||||||
And group "new-group" does not exist
|
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
|
Scenario: get enabled apps
|
||||||
Given As an "admin"
|
Given As an "admin"
|
||||||
When sending "GET" to "/cloud/apps?filter=enabled"
|
When sending "GET" to "/cloud/apps?filter=enabled"
|
||||||
|
|
Loading…
Reference in New Issue