Skip to content

Commit b5bf1b3

Browse files
authored
Update README.md
The explanation already says that you cannot use PactVerificationSpringProvider without @WebMvcTest annotation. Therefore it falls into PactVerificationInvocationContextProvider extension.
1 parent da146a0 commit b5bf1b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

provider/junit5spring/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ For example:
8383
class MockMvcTestTargetStandaloneMockMvcTestJava {
8484
8585
@TestTemplate
86-
@ExtendWith(PactVerificationSpringProvider.class)
86+
@ExtendWith(PactVerificationInvocationContextProvider.class)
8787
void pactVerificationTestTemplate(PactVerificationContext context) {
8888
context.verifyInteraction();
8989
}

0 commit comments

Comments
 (0)