diff --git a/src/test/kotlin/no/nav/pdfgen/DockerImageTest.kt b/src/test/kotlin/no/nav/pdfgen/DockerImageTest.kt index 63a53c8..d9e1744 100644 --- a/src/test/kotlin/no/nav/pdfgen/DockerImageTest.kt +++ b/src/test/kotlin/no/nav/pdfgen/DockerImageTest.kt @@ -7,13 +7,13 @@ import org.testcontainers.containers.GenericContainer import java.nio.file.Paths internal class DockerImageTest { - private var pdfgen: GenericContainer + private var pdfgen: GenericContainer / GenericContainer( - ImageFromDockerfile = ImageFromDockerfile() + ImageFromDockerfile() .withFileFromPath("/", Paths.get("Dockerfile")) ).apply { start() - } + } @Test internal fun `Test Dockerfile`() { Assertions.assertEquals(true, pdfgen.isDeleteOnExit)