Skip to content

Commit

Permalink
Dirty context for mockproducer
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-meidell committed Oct 7, 2024
1 parent 99947ed commit fddf67c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ import org.springframework.boot.test.mock.mockito.MockBean
import org.springframework.http.HttpHeaders
import org.springframework.http.MediaType
import org.springframework.kafka.core.KafkaTemplate
import org.springframework.test.annotation.DirtiesContext
import java.time.Clock
import java.time.Instant
import java.time.temporal.ChronoUnit
import java.util.concurrent.CompletableFuture

@DirtiesContext
class BarnetrygdmottakerServiceTest : SpringContextTest.NoKafka() {
@Autowired
private lateinit var barnetrygdmottakerRepository: BarnetrygdmottakerRepository
Expand Down

0 comments on commit fddf67c

Please sign in to comment.