Thus, the solving procedure could be:

1. Recover the old version of the test, wrongly using "application/json"
2. Fix the code, thus the test fails
3. Fix the test