[tests-only][full-ci] Add API tests for getting groups and group members (graph API) (#5005)
* add tests for getting groups and group members * bump core commit id * fix scenario description * fix php style * add tests for creating empty group * add unauthorized response check * mark empty group creation scenario as expected to fail * address reviews
This commit is contained in:
@@ -34,4 +34,9 @@ Feature: create group
|
||||
Given user "Brian" has been created with default attributes and without skeleton files
|
||||
When user "Brian" tries to create a group "mygroup" using the Graph API
|
||||
And the HTTP status code should be "401"
|
||||
And group "mygroup" should not exist
|
||||
And group "mygroup" should not exist
|
||||
|
||||
|
||||
Scenario: admin user tries to create a group that is the empty string
|
||||
When user "Alice" tries to create a group "" using the Graph API
|
||||
Then the HTTP status code should be "400"
|
||||
Reference in New Issue
Block a user