diff --git a/spring-cloud-contract.html b/spring-cloud-contract.html index 9ad79ed1f6..488d4d2a6a 100644 --- a/spring-cloud-contract.html +++ b/spring-cloud-contract.html @@ -1427,8 +1427,9 @@ It’s really important that you understand the map notation to set up contr
@RunWith(SpringRunner.class)
-@SpringBootTest
+@SpringBootTest(webEnvironment=WebEnvironment.NONE)
 @AutoConfigureStubRunner(ids = {"com.example:http-server-dsl:+:stubs:8080"}, workOffline = true)
+@DirtiesContext
 public class LoanApplicationServiceTests {