[test-only] ApiTest. Disable/enable user (#5639) (#5739)

* [test-only] ApiTest. Disable/enable user (#5639)

* fix expected failures lines
This commit is contained in:
Viktor Scharf authored and GitHub committed 2023-03-07 09:06:22 +01:00
1 parent 5a97f72ad8
commit daddb63900
9 files changed
+295 -73

No files matched your search

@@ -166,3 +166,21 @@ Feature: remove a user from a group
Then the HTTP status code should be "401"
And the last response should be an unauthorized response
And user "Brian" should belong to group "grp1"
@skipOnStable2.0
Scenario: admin removes a disabled user from a group
Given these groups have been created:
| groupname | comment |
| brand-new-group | nothing special here |
And the following users have been added to the following groups
| username | groupname |
| Alice | brand-new-group |
And the user "Admin" has disabled user "Alice" using the Graph API
When the administrator removes the following users from the following groups using the Graph API
| username | groupname |
| Alice | brand-new-group |
Then the HTTP status code of responses on all endpoints should be "204"
And the following users should not belong to the following groups
| username | groupname |
| Alice | brand-new-group |