Skip to content

Commit 56fae4f

Browse files
committed
Attempts to fix test
1 parent 0117192 commit 56fae4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-cloud-contract-verifier/src/test/groovy/org/springframework/cloud/contract/verifier/dsl/wiremock/WireMockGroovyDslSpec.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2084,7 +2084,7 @@ class WireMockGroovyDslSpec extends Specification implements WireMockStubVerifie
20842084
ResponseEntity<String> entity = call(port)
20852085
then:
20862086
entity.headers.
2087-
find { it.key == "Authorization" && it.value.contains("secret;foo") }
2087+
find { it.key == "authorization" && it.value.contains("secret;foo") }
20882088
AssertionUtil.assertThatJsonsAreEqual(('''
20892089
{
20902090
"url" : "/api/v1/xxxx?foo=bar&foo=bar2",
@@ -2236,7 +2236,7 @@ class WireMockGroovyDslSpec extends Specification implements WireMockStubVerifie
22362236
then:
22372237
ResponseEntity<String> entity = call(port)
22382238
entity.headers.
2239-
find { it.key == "Authorization" && it.value.contains("secret;foo") }
2239+
find { it.key == "authorization" && it.value.contains("secret;foo") }
22402240
and:
22412241
AssertionUtil.assertThatJsonsAreEqual(('''
22422242
{

0 commit comments

Comments
 (0)