Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
The explanation already says that you cannot use PactVerificationSpringProvider without @WebMvcTest annotation. Therefore it falls into PactVerificationInvocationContextProvider extension.
  • Loading branch information
danifgxcom authored Apr 2, 2024
1 parent da146a0 commit b5bf1b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/junit5spring/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ For example:
class MockMvcTestTargetStandaloneMockMvcTestJava {
@TestTemplate
@ExtendWith(PactVerificationSpringProvider.class)
@ExtendWith(PactVerificationInvocationContextProvider.class)
void pactVerificationTestTemplate(PactVerificationContext context) {
context.verifyInteraction();
}
Expand Down

0 comments on commit b5bf1b3

Please sign in to comment.