Skip to content

Commit 90ad85a

Browse files
committed
The URLS for marking productions have changed, adapt tests
1 parent b361f1e commit 90ad85a

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

test/rest-api.http

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -240,19 +240,19 @@ Authorization: :auth-token
240240
####################################
241241

242242
# Mark a production as recorded
243-
POST http://localhost:3000/api/productions/1035/recorded
243+
POST http://localhost:3000/api/productions/1035/mark-recorded
244244
Accept: application/json
245245
Content-Type: application/json
246246
Authorization: :auth-token
247247

248248
# Mark a non-existing production as recorded
249-
POST http://localhost:3000/api/productions/1/recorded
249+
POST http://localhost:3000/api/productions/1/mark-recorded
250250
Accept: application/json
251251
Content-Type: application/json
252252
Authorization: :auth-token
253253

254254
# Mark production as recorded which doesn't have state 'structured'
255-
POST http://localhost:3000/api/productions/94/recorded
255+
POST http://localhost:3000/api/productions/94/mark-recorded
256256
Accept: application/json
257257
Content-Type: application/json
258258
Authorization: :auth-token
@@ -262,7 +262,7 @@ Authorization: :auth-token
262262
#################################
263263

264264
# Mark a production as split
265-
POST http://localhost:3000/api/productions/1035/split
265+
POST http://localhost:3000/api/productions/1035/mark-split
266266
Accept: application/json
267267
Content-Type: application/json
268268
Authorization: :auth-token
@@ -273,7 +273,7 @@ Authorization: :auth-token
273273
}
274274

275275
# Mark a non-existing production as split
276-
POST http://localhost:3000/api/productions/1/split
276+
POST http://localhost:3000/api/productions/1/mark-split
277277
Accept: application/json
278278
Content-Type: application/json
279279
Authorization: :auth-token
@@ -284,7 +284,7 @@ Authorization: :auth-token
284284
}
285285

286286
# Mark production as split with an invalid bit-rate
287-
POST http://localhost:3000/api/productions/300/split
287+
POST http://localhost:3000/api/productions/300/mark-split
288288
Accept: application/json
289289
Content-Type: application/json
290290
Authorization: :auth-token
@@ -295,7 +295,7 @@ Authorization: :auth-token
295295
}
296296

297297
# Mark production as split with an invalid sample-rate
298-
POST http://localhost:3000/api/productions/300/split
298+
POST http://localhost:3000/api/productions/300/mark-split
299299
Accept: application/json
300300
Content-Type: application/json
301301
Authorization: :auth-token
@@ -306,7 +306,7 @@ Authorization: :auth-token
306306
}
307307

308308
# Mark production as split which doesn't have state 'pending-split'
309-
POST http://localhost:3000/api/productions/94/split
309+
POST http://localhost:3000/api/productions/94/mark-split
310310
Accept: application/json
311311
Content-Type: application/json
312312
Authorization: :auth-token

0 commit comments

Comments
 (0)