How to properly use the au.com.dius.pact.consumer.junit.MockServerConfig
annotation?
#1641
Labels
bug
Indicates an unexpected problem or unintended behavior
I'm using the
au.com.dius.pact.consumer:junit5
artifact, version4.4.2
.My consumer contract tests currently do this at the top of the test class:
I noticed recently that the
hostInterface
andport
attributes of the@PactTestFor
annotation have become deprecated with the messageThis has been replaced with the @MockServerConfig annotation
So I tried to replace the above with this:
But then when I run the tests it basically tells me that none of the requests were received. Am I not doing something correctly?
Here is the log output from one of the tests:
The text was updated successfully, but these errors were encountered: