Skip to content

Commit

Permalink
WIP1
Browse files Browse the repository at this point in the history
  • Loading branch information
dima767 committed Feb 23, 2021
1 parent 368f8ac commit 7fb8278
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class EntityDescriptorControllerVersionEndpointsIntegrationTests extends Specifi
edv2.body.serviceProviderName == 'SP2'
}

//@DirtiesContext(methodMode = DirtiesContext.MethodMode.AFTER_METHOD)
@DirtiesContext(methodMode = DirtiesContext.MethodMode.AFTER_METHOD)
def 'SHIBUI-1414'() {
given:
def ed = new EntityDescriptor(entityID: 'testme', serviceProviderName: 'testme').with {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import static edu.internet2.tier.shibboleth.admin.ui.jsonschema.LowLevelJsonSche
*
* @author Dmitriy Kopylenko
*/
//@ControllerAdvice
@ControllerAdvice
class EntityDescriptorSchemaValidatingControllerAdvice extends RequestBodyAdviceAdapter {

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,8 @@ class EntitiesControllerIntegrationTests extends Specification {
private WebTestClient webClient

/*def setup() {
//DefaultUriBuilderFactory factory = new DefaultUriBuilderFactory()
//factory.setEncodingMode(DefaultUriBuilderFactory.EncodingMode.NONE)
// yeah, don't ask... this is just shenanigans
this.webClient = WebTestClient.builder().uriBuilderFactory(factory).build()
// The API is changed. Doesn't work anymore. Not sure if we need it here
this.webClient.webClient.uriBuilderFactory.encodingMode = DefaultUriBuilderFactory.EncodingMode.NONE
}*/

Expand Down

0 comments on commit 7fb8278

Please sign in to comment.