Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions modules/openfga/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@ description = "Testcontainers :: OpenFGA"
dependencies {
api project(':testcontainers')

testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.11.0'

testImplementation 'org.junit.jupiter:junit-jupiter:5.13.4'
testImplementation 'org.assertj:assertj-core:3.27.3'
testImplementation 'dev.openfga:openfga-sdk:0.9.0'
}

test {
useJUnitPlatform()
javaLauncher = javaToolchains.launcherFor {
languageVersion = JavaLanguageVersion.of(17)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
import dev.openfga.sdk.api.configuration.ClientConfiguration;
import dev.openfga.sdk.api.model.CreateStoreRequest;
import dev.openfga.sdk.errors.FgaInvalidParameterException;
import org.junit.Test;
import org.junit.jupiter.api.Test;

import java.util.concurrent.ExecutionException;

import static org.assertj.core.api.Assertions.assertThat;

public class OpenFGAContainerTest {
class OpenFGAContainerTest {

@Test
public void withDefaultConfig() throws FgaInvalidParameterException, ExecutionException, InterruptedException {
void withDefaultConfig() throws FgaInvalidParameterException, ExecutionException, InterruptedException {
try ( // container {
OpenFGAContainer openfga = new OpenFGAContainer("openfga/openfga:v1.4.3")
// }
Expand Down
Loading