File tree Expand file tree Collapse file tree 4 files changed +32
-76
lines changed
cassettes/v2/Roles_1048039038/Revoke-permission-returns-Bad-Request-response_515581594 Expand file tree Collapse file tree 4 files changed +32
-76
lines changed Original file line number Diff line number Diff line change 4
4
"spec_versions": {
5
5
"v1": {
6
6
"apigentools_version": "1.6.6",
7
- "regenerated": "2024-10-23 10:08:16.626207 ",
8
- "spec_repo_commit": "df3187ca "
7
+ "regenerated": "2024-10-23 16:37:04.850584 ",
8
+ "spec_repo_commit": "a916f673 "
9
9
},
10
10
"v2": {
11
11
"apigentools_version": "1.6.6",
12
- "regenerated": "2024-10-23 10:08:16.645066 ",
13
- "spec_repo_commit": "df3187ca "
12
+ "regenerated": "2024-10-23 16:37:04.869465 ",
13
+ "spec_repo_commit": "a916f673 "
14
14
}
15
15
}
16
16
}
Original file line number Diff line number Diff line change 1
- " 2022-05-12T09:52:59.418Z "
1
+ " 2024-10-23T16:34:06.263Z "
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -254,13 +254,12 @@ Feature: Roles
254
254
When the request is sent
255
255
Then the response status is 200 OK
256
256
257
- @team:DataDog/aaa-core-access
257
+ @skip-validation @ team:DataDog/aaa-core-access
258
258
Scenario : Revoke permission returns "Bad Request" response
259
259
Given there is a valid "role" in the system
260
- And there is a valid "permission" in the system
261
260
And new "RemovePermissionFromRole" request
262
261
And request contains "role_id" parameter from "role.data.id"
263
- And body with value {"data" : {"id" : "11111111-dead-beef-dead-ffffffffffff" , "type" : "{{ permission.type }} " }}
262
+ And body with value {"data" : {"id" : "11111111-dead-beef-dead-ffffffffffff" , "type" : "bad_permission_type " }}
264
263
When the request is sent
265
264
Then the response status is 400 Bad Request
266
265
You can’t perform that action at this time.
0 commit comments