You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c6c0da5
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: tests/v2/features/csm_ownership.feature
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -144,7 +144,7 @@ Feature: CSM Ownership
144
144
And new "CreateOwnershipFeedback" request
145
145
And request contains "resource_id" parameter from "REPLACE.ME"
146
146
And request contains "owner_type" parameter from "REPLACE.ME"
147
-
And body with value {"data": {"attributes": {"action": "confirm", "actor_handle": "user@example.com", "actor_type": "user", "corrected_owner_handle": "team-b", "corrected_owner_type": "team", "inference_checksum": "abc123", "reason": "Confirmed by team lead."}, "type": "ownership_feedback"}}
147
+
And body with value {"data": {"attributes": {"action": "confirm", "corrected_owner_handle": "team-b", "corrected_owner_type": "team", "inference_checksum": "abc123", "reason": "Confirmed by team lead."}, "type": "ownership_feedback"}}
148
148
When the request is sent
149
149
Then the response status is 400 Bad Request
150
150
@@ -154,7 +154,7 @@ Feature: CSM Ownership
154
154
And new "CreateOwnershipFeedback" request
155
155
And request contains "resource_id" parameter from "REPLACE.ME"
156
156
And request contains "owner_type" parameter from "REPLACE.ME"
157
-
And body with value {"data": {"attributes": {"action": "confirm", "actor_handle": "user@example.com", "actor_type": "user", "corrected_owner_handle": "team-b", "corrected_owner_type": "team", "inference_checksum": "abc123", "reason": "Confirmed by team lead."}, "type": "ownership_feedback"}}
157
+
And body with value {"data": {"attributes": {"action": "confirm", "corrected_owner_handle": "team-b", "corrected_owner_type": "team", "inference_checksum": "abc123", "reason": "Confirmed by team lead."}, "type": "ownership_feedback"}}
158
158
When the request is sent
159
159
Then the response status is 409 Conflict
160
160
@@ -164,7 +164,7 @@ Feature: CSM Ownership
164
164
And new "CreateOwnershipFeedback" request
165
165
And request contains "resource_id" parameter from "REPLACE.ME"
166
166
And request contains "owner_type" parameter from "REPLACE.ME"
167
-
And body with value {"data": {"attributes": {"action": "confirm", "actor_handle": "user@example.com", "actor_type": "user", "corrected_owner_handle": "team-b", "corrected_owner_type": "team", "inference_checksum": "abc123", "reason": "Confirmed by team lead."}, "type": "ownership_feedback"}}
167
+
And body with value {"data": {"attributes": {"action": "confirm", "corrected_owner_handle": "team-b", "corrected_owner_type": "team", "inference_checksum": "abc123", "reason": "Confirmed by team lead."}, "type": "ownership_feedback"}}
168
168
When the request is sent
169
169
Then the response status is 201 Created
170
170
@@ -174,7 +174,7 @@ Feature: CSM Ownership
174
174
And new "CreateOwnershipFeedback" request
175
175
And request contains "resource_id" parameter from "REPLACE.ME"
176
176
And request contains "owner_type" parameter from "REPLACE.ME"
177
-
And body with value {"data": {"attributes": {"action": "confirm", "actor_handle": "user@example.com", "actor_type": "user", "corrected_owner_handle": "team-b", "corrected_owner_type": "team", "inference_checksum": "abc123", "reason": "Confirmed by team lead."}, "type": "ownership_feedback"}}
177
+
And body with value {"data": {"attributes": {"action": "confirm", "corrected_owner_handle": "team-b", "corrected_owner_type": "team", "inference_checksum": "abc123", "reason": "Confirmed by team lead."}, "type": "ownership_feedback"}}
0 commit comments