Skip to content

Commit 436272e

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update remove permission test param so it fails correctly (#1875)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent dc40d82 commit 436272e

File tree

4 files changed

+32
-76
lines changed

4 files changed

+32
-76
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"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"
99
},
1010
"v2": {
1111
"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"
1414
}
1515
}
1616
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2022-05-12T09:52:59.418Z"
1+
"2024-10-23T16:34:06.263Z"

cassettes/v2/Roles_1048039038/Revoke-permission-returns-Bad-Request-response_515581594/recording.har

Lines changed: 25 additions & 68 deletions
Large diffs are not rendered by default.

features/v2/roles.feature

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,13 +254,12 @@ Feature: Roles
254254
When the request is sent
255255
Then the response status is 200 OK
256256

257-
@team:DataDog/aaa-core-access
257+
@skip-validation @team:DataDog/aaa-core-access
258258
Scenario: Revoke permission returns "Bad Request" response
259259
Given there is a valid "role" in the system
260-
And there is a valid "permission" in the system
261260
And new "RemovePermissionFromRole" request
262261
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"}}
264263
When the request is sent
265264
Then the response status is 400 Bad Request
266265

0 commit comments

Comments
 (0)