mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-24 04:58:31 -05:00
Replace asserting userID with regex match
This commit is contained in:
+5
-5
@@ -1,5 +1,5 @@
|
||||
@api
|
||||
Feature: get user information
|
||||
Feature: get user own information
|
||||
As user
|
||||
I want to be able to retrieve my own information
|
||||
So that I can see my information
|
||||
@@ -11,9 +11,9 @@ Feature: get user information
|
||||
Scenario: user gets his/her own information with no group involvement
|
||||
When the user "Alice" retrives her information using the Graph API
|
||||
Then the HTTP status code should be "200"
|
||||
And the api response for user "Alice" should contains the following information:
|
||||
And the api response should contains the following information:
|
||||
| displayName | Alice Hansen |
|
||||
| id | %user_id% |
|
||||
| id | %UUIDv4% |
|
||||
| mail | alice@example.org |
|
||||
| onPremisesSamAccountName | Alice |
|
||||
| memberOf | |
|
||||
@@ -25,9 +25,9 @@ Feature: get user information
|
||||
And user "Alice" has been added to group "tea-lover"
|
||||
And user "Alice" has been added to group "coffee-lover"
|
||||
When the user "Alice" retrives her information using the Graph API
|
||||
And the api response for user "Alice" should contains the following information:
|
||||
And the api response should contains the following information:
|
||||
| displayName | Alice Hansen |
|
||||
| id | %user_id% |
|
||||
| id | %UUIDv4% |
|
||||
| onPremisesSamAccountName | Alice |
|
||||
| mail | alice@example.org |
|
||||
| memberOf | tea-lover, coffee-lover |
|
||||
Reference in New Issue
Block a user