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.
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.