Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

String change after test generating #2090

Open
BladeSv opened this issue Jan 25, 2024 · 2 comments
Open

String change after test generating #2090

BladeSv opened this issue Jan 25, 2024 · 2 comments

Comments

@BladeSv
Copy link

BladeSv commented Jan 25, 2024

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
Copy link
Contributor

Which version of scc are you using?

@BladeSv
Copy link
Author

BladeSv commented Jan 29, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants