File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
src/test/java/org/testcontainers/openfga Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,15 @@ description = "Testcontainers :: OpenFGA"
33dependencies {
44 api project(' :testcontainers' )
55
6+ testRuntimeOnly ' org.junit.platform:junit-platform-launcher:1.11.0'
7+
8+ testImplementation ' org.junit.jupiter:junit-jupiter:5.13.4'
69 testImplementation ' org.assertj:assertj-core:3.27.3'
710 testImplementation ' dev.openfga:openfga-sdk:0.9.0'
811}
912
1013test {
14+ useJUnitPlatform()
1115 javaLauncher = javaToolchains. launcherFor {
1216 languageVersion = JavaLanguageVersion . of(17 )
1317 }
Original file line number Diff line number Diff line change 55import dev .openfga .sdk .api .configuration .ClientConfiguration ;
66import dev .openfga .sdk .api .model .CreateStoreRequest ;
77import dev .openfga .sdk .errors .FgaInvalidParameterException ;
8- import org .junit .Test ;
8+ import org .junit .jupiter . api . Test ;
99
1010import java .util .concurrent .ExecutionException ;
1111
1212import static org .assertj .core .api .Assertions .assertThat ;
1313
14- public class OpenFGAContainerTest {
14+ class OpenFGAContainerTest {
1515
1616 @ Test
17- public void withDefaultConfig () throws FgaInvalidParameterException , ExecutionException , InterruptedException {
17+ void withDefaultConfig () throws FgaInvalidParameterException , ExecutionException , InterruptedException {
1818 try ( // container {
1919 OpenFGAContainer openfga = new OpenFGAContainer ("openfga/openfga:v1.4.3" )
2020 // }
You can’t perform that action at this time.
0 commit comments