My solution seems to be correct, but I can’t pass this test:
You can send a PUT request to /api/issues/{projectname} with an _id and one or more fields to update. On success, the updated_on field should be updated, and returned should be { result: 'successfully updated', '_id': _id }.
But, if i try manually, PUT requests work correctly. What i’m doing wrong? How can I see what this test exactly checks, in order to debug it?
Thanks, it was useful. This test does a PUT request and then a GET, filtering by _id. This was the problem, my GET route had problems in handling filters by _id. Now it works