test(manager): improve setup of flaky unit test
-
Replace asserts with require. This will stop the test if a require does not pass. That's better because if we continue, nil pointers will occur.
-
If the HTTP status code assertion fails, log the response body. This makes debugging easier.
Issue: #231 (closed)