Currently, non-200 responses from the codex REST api will crash tests as the response is non-json.
Response codes should be inspected and an exception thrown if non-200. This exception should bubble up to the tests, so the exception could be caught, and tested for, in the tests.
Currently, non-200 responses from the codex REST api will crash tests as the response is non-json.
Response codes should be inspected and an exception thrown if non-200. This exception should bubble up to the tests, so the exception could be caught, and tested for, in the tests.