Skip to content

Commit

Permalink
Update DockerImageTest.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
MikAoJk authored Nov 8, 2023
1 parent c54c879 commit 3190f02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/kotlin/no/nav/pdfgen/DockerImageTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3190f02

Please sign in to comment.