You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I've not defined the pact version in my test, it is set as PactSpecVersion.UNSPECIFIED, which in the above if is considered as inferior to PactSpectVersion.V3, and so only the providerState is generated, and not the full providerStates.
Shouldn't this if be fixed to default PactSpecVersion to V3 as it is done everywhere else?
The text was updated successfully, but these errors were encountered:
Good point, it is probably time to set the default to V3. The reason it was not, is that there are lots of implementations that only support up to V2. But this is slowly changing.
Subject:
au.com.dius.pact.consumer:junit5:4.6.1
Given I have a test class anotated like this
When setting a state with some parameters
Then only this is generated in my pact file:
while the expected behavior is to have this generated:
I believe the cause for that bug is in
RequestResponseInteraction.kt
at the line 32:As I've not defined the pact version in my test, it is set as
PactSpecVersion.UNSPECIFIED
, which in the aboveif
is considered as inferior toPactSpectVersion.V3
, and so only theproviderState
is generated, and not the fullproviderStates
.Shouldn't this if be fixed to default
PactSpecVersion
toV3
as it is done everywhere else?The text was updated successfully, but these errors were encountered: