From f8f58f6898d80f9e9708d7e75eaa5aa74199efe5 Mon Sep 17 00:00:00 2001 From: Dmitriy Kopylenko Date: Mon, 22 Feb 2021 16:27:02 -0500 Subject: [PATCH] Boot upgrade wip --- .../EntitiesControllerIntegrationTests.groovy | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/controller/EntitiesControllerIntegrationTests.groovy b/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/controller/EntitiesControllerIntegrationTests.groovy index 3108db5c5..0fa9084e2 100644 --- a/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/controller/EntitiesControllerIntegrationTests.groovy +++ b/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/controller/EntitiesControllerIntegrationTests.groovy @@ -35,14 +35,14 @@ class EntitiesControllerIntegrationTests extends Specification { @Autowired private WebTestClient webClient - def setup() { + /*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() this.webClient.webClient.uriBuilderFactory.encodingMode = DefaultUriBuilderFactory.EncodingMode.NONE - } + }*/ def "GET /api/entities returns the proper json"() { given: @@ -65,11 +65,7 @@ class EntitiesControllerIntegrationTests extends Specification { when: def result = this.webClient .get() - .uri { - it.path("/api/entities/http%3A%2F%2Ftest.scaldingspoon.org%2Ftest1") - it.build() - } - //.uri("/api/entities/http%3A%2F%2Ftest.scaldingspoon.org%2Ftest1") + .uri("/api/entities/http%3A%2F%2Ftest.scaldingspoon.org%2Ftest1") .exchange() // someday, I'd like to know why IntelliJ "cannot resolve symbol 'exchange'" then: