Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- the test is intended to access /error429 as a browser would and expects a 200 response (due to this request mapping: https://github.com/cloudfoundry/uaa/blob/0a28b5c5aa33c68a5cdb20f23812d5187135b4a8/server/src/main/java/org/cloudfoundry/identity/uaa/home/HomeController.java#L155 and NOT https://github.com/cloudfoundry/uaa/blob/0a28b5c5aa33c68a5cdb20f23812d5187135b4a8/server/src/main/java/org/cloudfoundry/identity/uaa/home/HomeController.java#L144) - however, in some environments where this test is run, the test does not access the /error429 like a browser would (e.g. does not have the request header "Accept: text/html" by default), so explictly adding this header to the test setup to better emulate a browser request
- Loading branch information