From 56fae4f72470de928884c1f6396d6a3cdc023353 Mon Sep 17 00:00:00 2001 From: spencergibb Date: Wed, 6 Nov 2024 10:31:15 -0500 Subject: [PATCH] Attempts to fix test --- .../verifier/dsl/wiremock/WireMockGroovyDslSpec.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-cloud-contract-verifier/src/test/groovy/org/springframework/cloud/contract/verifier/dsl/wiremock/WireMockGroovyDslSpec.groovy b/spring-cloud-contract-verifier/src/test/groovy/org/springframework/cloud/contract/verifier/dsl/wiremock/WireMockGroovyDslSpec.groovy index e700b83c01..9a34ef7092 100755 --- a/spring-cloud-contract-verifier/src/test/groovy/org/springframework/cloud/contract/verifier/dsl/wiremock/WireMockGroovyDslSpec.groovy +++ b/spring-cloud-contract-verifier/src/test/groovy/org/springframework/cloud/contract/verifier/dsl/wiremock/WireMockGroovyDslSpec.groovy @@ -2084,7 +2084,7 @@ class WireMockGroovyDslSpec extends Specification implements WireMockStubVerifie ResponseEntity entity = call(port) then: entity.headers. - find { it.key == "Authorization" && it.value.contains("secret;foo") } + find { it.key == "authorization" && it.value.contains("secret;foo") } AssertionUtil.assertThatJsonsAreEqual((''' { "url" : "/api/v1/xxxx?foo=bar&foo=bar2", @@ -2236,7 +2236,7 @@ class WireMockGroovyDslSpec extends Specification implements WireMockStubVerifie then: ResponseEntity entity = call(port) entity.headers. - find { it.key == "Authorization" && it.value.contains("secret;foo") } + find { it.key == "authorization" && it.value.contains("secret;foo") } and: AssertionUtil.assertThatJsonsAreEqual((''' {