Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: /info docs test expectation (#2884)
* fix: /info docs test expectation - the value of "idpDefinitions.*" of /info response is in reality a String, not an array. Here is how it looks like: ``` "idpDefinitions": { "testsaml-redirect-binding": "http://localhost:8080/uaa/saml/discovery?returnIDParam=idp&entityID=cloudfoundry-saml-login&idp=testsaml-redirect-binding&isPassive=true", "testsaml-post-binding": "http://localhost:8080/uaa/saml/discovery?returnIDParam=idp&entityID=cloudfoundry-saml-login&idp=testsaml-post-binding&isPassive=true" }, ``` which is consistent with the description of "idpDefinitions" field: "A list of alias/url pairs of SAML IDP providers configured. Each url is the starting point to initiate the authentication process for the SAML identity provider." - previously, this test is passing only because the test uaa.yml used in this test contains no IDP configs; but once you input some valid IDP configs, this test would fail since the value is actually a String. - also clarify the description text Additional commit squashed: * change to VARIES see https://docs.spring.io/spring-restdocs/docs/current/api/org/springframework/restdocs/payload/JsonFieldType.html -> A variety of different types. --------- Co-authored-by: d036670 <markus.strehle@sap.com>
- Loading branch information