From 3190f0283e0ff8c5b68b978c89ec98901cdf43a1 Mon Sep 17 00:00:00 2001 From: Joakim Taule Kartveit Date: Wed, 8 Nov 2023 19:22:40 +0100 Subject: [PATCH] Update DockerImageTest.kt --- src/test/kotlin/no/nav/pdfgen/DockerImageTest.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)