spring-cloud / spring-cloud-contract

Support for Consumer Driven Contracts in Spring
https://cloud.spring.io/spring-cloud-contract
Apache License 2.0
719 stars 438 forks source link

String change after test generating #2090

Open BladeSv opened 9 months ago

BladeSv commented 9 months ago

Describe the bug I want to check response header value. I enter header value in Contract as a string, but after test generation this string has changed and I can't pass test.

Sample Contract image Generated test image Run test result image

marcingrzejszczak commented 9 months ago

Which version of scc are you using?

BladeSv commented 9 months ago

implementation group: 'org.springframework.cloud', name: 'spring-cloud-starter-contract-verifier', version: '4.1.0' plugin - id "org.springframework.cloud.contract" version "4.1.0" java 17