@@ -10,21 +10,21 @@ Feature: Users
1010 @generated @skip
1111 Scenario : Create a user returns "Bad Request" response
1212 Given new "CreateUser" request
13- And body with value {"disabled" : false, "email" : "test@datadoghq.com" , "handle" : "test@datadoghq.com" , "name" : "test user" }
13+ And body with value {"access_role" : "st" , " disabled" : false, "email" : "test@datadoghq.com" , "handle" : "test@datadoghq.com" , "name" : "test user" }
1414 When the request is sent
1515 Then the response status is 400 Bad Request
1616
1717 @generated @skip
1818 Scenario : Create a user returns "Conflict" response
1919 Given new "CreateUser" request
20- And body with value {"disabled" : false, "email" : "test@datadoghq.com" , "handle" : "test@datadoghq.com" , "name" : "test user" }
20+ And body with value {"access_role" : "st" , " disabled" : false, "email" : "test@datadoghq.com" , "handle" : "test@datadoghq.com" , "name" : "test user" }
2121 When the request is sent
2222 Then the response status is 409 Conflict
2323
2424 @generated @skip
2525 Scenario : Create a user returns "User created" response
2626 Given new "CreateUser" request
27- And body with value {"disabled" : false, "email" : "test@datadoghq.com" , "handle" : "test@datadoghq.com" , "name" : "test user" }
27+ And body with value {"access_role" : "st" , " disabled" : false, "email" : "test@datadoghq.com" , "handle" : "test@datadoghq.com" , "name" : "test user" }
2828 When the request is sent
2929 Then the response status is 200 User created
3030
@@ -73,22 +73,22 @@ Feature: Users
7373 Scenario : Update a user returns "Bad Request" response
7474 Given new "UpdateUser" request
7575 And request contains "user_handle" parameter from "<PATH>"
76- And body with value {"disabled" : false, "email" : "test@datadoghq.com" , "handle" : "test@datadoghq.com" , "name" : "test user" }
76+ And body with value {"access_role" : "st" , " disabled" : false, "email" : "test@datadoghq.com" , "handle" : "test@datadoghq.com" , "name" : "test user" }
7777 When the request is sent
7878 Then the response status is 400 Bad Request
7979
8080 @generated @skip
8181 Scenario : Update a user returns "Not Found" response
8282 Given new "UpdateUser" request
8383 And request contains "user_handle" parameter from "<PATH>"
84- And body with value {"disabled" : false, "email" : "test@datadoghq.com" , "handle" : "test@datadoghq.com" , "name" : "test user" }
84+ And body with value {"access_role" : "st" , " disabled" : false, "email" : "test@datadoghq.com" , "handle" : "test@datadoghq.com" , "name" : "test user" }
8585 When the request is sent
8686 Then the response status is 404 Not Found
8787
8888 @generated @skip
8989 Scenario : Update a user returns "User updated" response
9090 Given new "UpdateUser" request
9191 And request contains "user_handle" parameter from "<PATH>"
92- And body with value {"disabled" : false, "email" : "test@datadoghq.com" , "handle" : "test@datadoghq.com" , "name" : "test user" }
92+ And body with value {"access_role" : "st" , " disabled" : false, "email" : "test@datadoghq.com" , "handle" : "test@datadoghq.com" , "name" : "test user" }
9393 When the request is sent
9494 Then the response status is 200 User updated
0 commit comments