Open BenjaminMINK opened 5 months ago
Can you add a test that sends a DELETE request with a body in the delete.spec.js file, so that this change is covered? You should be able to utilise one of the existing tests in POST or PATCH.
Okay, I'll add it
Hello,
It seems we need more than just adding a single test: with the proposed modification, many tests fails because many are related to the request
method which is not handling well different cases, especially in the isValid
method called from serialise
that we need to also handle the DELETE
that can be either empty or filled...
I'll take a look into that in the coming week 👍
Hello,
I think the
delete
method should be allowed to send data onrequest
method