Add a test case for /listTokens and test cases for /revokeToken where json input is incorrect.
Incorrect JSON (missing content-type, missing body (malformed body is caught in bodyParser middleware)) for /revokeToken now always causes a 400 response.
Boosts lib/authorisation_controller.js coverage to 100%! :tada:
Add a test case for /listTokens and test cases for /revokeToken where json input is incorrect.
Incorrect JSON (missing content-type, missing body (malformed body is caught in bodyParser middleware)) for /revokeToken now always causes a 400 response.
Boosts lib/authorisation_controller.js coverage to 100%! :tada: