pact-foundation/pact-jvm
Vedi su GitHubPact weird behaviour in the contract if same test is present in two class files for same consumer and provider pair.
Open
#1893 aperta il 12 gen 2026
buggood first issuehelp wantedtriage
Metriche repository
- Star
- (1127 star)
- Metriche merge PR
- (Merge medio 1g 5h) (2 PR mergiate in 30 g)
Descrizione
I was writing this scenario, where accidently I had written the a test case in two different class with same consumer and provider pair which is having Authorization header in the api request.
So when I publish the contract from one test class, contract was perfectly fine, but when I ran the second test class with exact same test case and publish the contract there was extra space coming in the authorization header.
Not sure why this happen?