Skip to content

Commit 63b9b84

Browse files
committed
Fix URL for update
1 parent a765355 commit 63b9b84

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

api/tests/integration/identification_tasks/update.tavern.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ includes:
4949
marks:
5050
- usefixtures:
5151
- api_live_url
52+
- identification_task
5253
- user_with_role_annotator
5354
- jwt_token_user
5455
- parametrize:
@@ -60,7 +61,7 @@ marks:
6061
stages:
6162
- name: Update method is disabled
6263
request:
63-
url: "{api_live_url}/{endpoint}/"
64+
url: "{api_live_url}/{endpoint}/{identification_task.report.pk}/"
6465
headers:
6566
Authorization: "Bearer {jwt_token_user}"
6667
method: "{method}"
@@ -77,6 +78,7 @@ includes:
7778
marks:
7879
- usefixtures:
7980
- api_live_url
81+
- identification_task
8082
- user_with_role_supervisor_in_country
8183
- jwt_token_user
8284
- parametrize:
@@ -88,7 +90,7 @@ marks:
8890
stages:
8991
- name: Update method is disabled
9092
request:
91-
url: "{api_live_url}/{endpoint}/"
93+
url: "{api_live_url}/{endpoint}/{identification_task.report.pk}/"
9294
headers:
9395
Authorization: "Bearer {jwt_token_user}"
9496
method: "{method}"
@@ -105,6 +107,7 @@ includes:
105107
marks:
106108
- usefixtures:
107109
- api_live_url
110+
- identification_task
108111
- user_with_role_reviewer
109112
- jwt_token_user
110113
- parametrize:
@@ -116,7 +119,7 @@ marks:
116119
stages:
117120
- name: Update method is disabled
118121
request:
119-
url: "{api_live_url}/{endpoint}/"
122+
url: "{api_live_url}/{endpoint}/{identification_task.report.pk}/"
120123
headers:
121124
Authorization: "Bearer {jwt_token_user}"
122125
method: "{method}"

0 commit comments

Comments
 (0)