adlnet-archive / grail-issue-tracker

Issue tracker for the lrs conformance test server public alpha
0 stars 0 forks source link

Set up request should use PUT. #65

Closed garemoko closed 7 years ago

garemoko commented 7 years ago

In the test 'Rejects a JSON update document when the original documents content-type is not 'application/json'' the test first POSTs a document of type 'application/octet-stream' and then attempts to overwrite it with another document of 'application/json'.

However if the LRS correctly rejects the first request, then the second request is correctly accepted because there is no stored document.

Instead, the first request should use PUT so that it is accepted by the LRS.

This test appears in each of the document API sections.