@@ -10,21 +10,21 @@ Feature: Users
10
10
@generated @skip
11
11
Scenario : Create a user returns "Bad Request" response
12
12
Given new "CreateUser" request
13
- And body with value {
"disabled" : false,
"email" :
"[email protected] " ,
"handle" :
"[email protected] " ,
"name" :
"test user" }
13
+ And body with value {
"access_role" : "st" , " disabled": false,
"email" :
"[email protected] " ,
"handle" :
"[email protected] " ,
"name" :
"test user" }
14
14
When the request is sent
15
15
Then the response status is 400 Bad Request
16
16
17
17
@generated @skip
18
18
Scenario : Create a user returns "Conflict" response
19
19
Given new "CreateUser" request
20
- And body with value {
"disabled" : false,
"email" :
"[email protected] " ,
"handle" :
"[email protected] " ,
"name" :
"test user" }
20
+ And body with value {
"access_role" : "st" , " disabled": false,
"email" :
"[email protected] " ,
"handle" :
"[email protected] " ,
"name" :
"test user" }
21
21
When the request is sent
22
22
Then the response status is 409 Conflict
23
23
24
24
@generated @skip
25
25
Scenario : Create a user returns "User created" response
26
26
Given new "CreateUser" request
27
- And body with value {
"disabled" : false,
"email" :
"[email protected] " ,
"handle" :
"[email protected] " ,
"name" :
"test user" }
27
+ And body with value {
"access_role" : "st" , " disabled": false,
"email" :
"[email protected] " ,
"handle" :
"[email protected] " ,
"name" :
"test user" }
28
28
When the request is sent
29
29
Then the response status is 200 User created
30
30
@@ -73,22 +73,22 @@ Feature: Users
73
73
Scenario : Update a user returns "Bad Request" response
74
74
Given new "UpdateUser" request
75
75
And request contains "user_handle" parameter from "<PATH>"
76
- And body with value {
"disabled" : false,
"email" :
"[email protected] " ,
"handle" :
"[email protected] " ,
"name" :
"test user" }
76
+ And body with value {
"access_role" : "st" , " disabled": false,
"email" :
"[email protected] " ,
"handle" :
"[email protected] " ,
"name" :
"test user" }
77
77
When the request is sent
78
78
Then the response status is 400 Bad Request
79
79
80
80
@generated @skip
81
81
Scenario : Update a user returns "Not Found" response
82
82
Given new "UpdateUser" request
83
83
And request contains "user_handle" parameter from "<PATH>"
84
- And body with value {
"disabled" : false,
"email" :
"[email protected] " ,
"handle" :
"[email protected] " ,
"name" :
"test user" }
84
+ And body with value {
"access_role" : "st" , " disabled": false,
"email" :
"[email protected] " ,
"handle" :
"[email protected] " ,
"name" :
"test user" }
85
85
When the request is sent
86
86
Then the response status is 404 Not Found
87
87
88
88
@generated @skip
89
89
Scenario : Update a user returns "User updated" response
90
90
Given new "UpdateUser" request
91
91
And request contains "user_handle" parameter from "<PATH>"
92
- And body with value {
"disabled" : false,
"email" :
"[email protected] " ,
"handle" :
"[email protected] " ,
"name" :
"test user" }
92
+ And body with value {
"access_role" : "st" , " disabled": false,
"email" :
"[email protected] " ,
"handle" :
"[email protected] " ,
"name" :
"test user" }
93
93
When the request is sent
94
94
Then the response status is 200 User updated
0 commit comments