Removed dirties context on any tests
This commit is contained in:
@@ -29,7 +29,6 @@ import org.springframework.cloud.stream.messaging.Sink
|
||||
import org.springframework.context.annotation.Bean
|
||||
import org.springframework.context.annotation.Configuration
|
||||
import org.springframework.stereotype.Component
|
||||
import org.springframework.test.annotation.DirtiesContext
|
||||
import org.springframework.test.context.ActiveProfiles
|
||||
import org.springframework.test.context.ContextConfiguration
|
||||
import spock.lang.Specification
|
||||
@@ -43,7 +42,6 @@ import spock.lang.Specification
|
||||
@AutoConfigureStubRunner( ids = ["com.example:fraudDetectionServerMoco"],
|
||||
stubsMode = StubRunnerProperties.StubsMode.CLASSPATH)
|
||||
// end::[classpath_stub_runner]
|
||||
@DirtiesContext
|
||||
@ActiveProfiles("test")
|
||||
class MocoHttpServerStubSpec extends Specification {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user