From b5bf1b33ac02b7fe13a0351421f509d22a738df9 Mon Sep 17 00:00:00 2001 From: danifgxcom Date: Wed, 3 Apr 2024 01:16:30 +0200 Subject: [PATCH] Update README.md The explanation already says that you cannot use PactVerificationSpringProvider without @WebMvcTest annotation. Therefore it falls into PactVerificationInvocationContextProvider extension. --- provider/junit5spring/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider/junit5spring/README.md b/provider/junit5spring/README.md index 0555fc021..126d6f40e 100644 --- a/provider/junit5spring/README.md +++ b/provider/junit5spring/README.md @@ -83,7 +83,7 @@ For example: class MockMvcTestTargetStandaloneMockMvcTestJava { @TestTemplate - @ExtendWith(PactVerificationSpringProvider.class) + @ExtendWith(PactVerificationInvocationContextProvider.class) void pactVerificationTestTemplate(PactVerificationContext context) { context.verifyInteraction(); }