Skip to content

Commit 697cef1

Browse files
committed
Explicit @testinstance(PER_CLASS)
See junit-team/junit5#905 I will configure PER_CLASS by default when available
1 parent 3f97601 commit 697cef1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/test/kotlin/functional/IntegrationTests.kt

+2
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@ import org.junit.jupiter.api.AfterAll
44
import org.junit.jupiter.api.BeforeAll
55
import org.junit.jupiter.api.Test
66
import org.junit.jupiter.api.TestInstance
7+
import org.junit.jupiter.api.TestInstance.Lifecycle.*
78
import org.springframework.http.MediaType.*
89
import org.springframework.web.reactive.function.client.WebClient
910
import org.springframework.web.reactive.function.client.bodyToFlux
1011
import org.springframework.web.reactive.function.client.bodyToMono
1112
import reactor.test.test
1213
import java.time.LocalDate
1314

15+
@TestInstance(PER_CLASS)
1416
class IntegrationTests {
1517

1618
val application = Application(8181)

0 commit comments

Comments
 (0)