From 1135312c7b23bde10a570481c737f4b91c9416e8 Mon Sep 17 00:00:00 2001 From: az Date: Mon, 28 Mar 2022 18:38:59 +0200 Subject: [PATCH] improve echoCommandForText_in_ubuntu_container --- .../provs/framework/ubuntu/utils/UtilsKtTest.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/kotlin/org/domaindrivenarchitecture/provs/framework/ubuntu/utils/UtilsKtTest.kt b/src/test/kotlin/org/domaindrivenarchitecture/provs/framework/ubuntu/utils/UtilsKtTest.kt index 1799e99..4cf033a 100644 --- a/src/test/kotlin/org/domaindrivenarchitecture/provs/framework/ubuntu/utils/UtilsKtTest.kt +++ b/src/test/kotlin/org/domaindrivenarchitecture/provs/framework/ubuntu/utils/UtilsKtTest.kt @@ -1,10 +1,9 @@ package org.domaindrivenarchitecture.provs.framework.ubuntu.utils import org.domaindrivenarchitecture.provs.framework.core.Prov -import org.domaindrivenarchitecture.provs.framework.core.docker import org.domaindrivenarchitecture.provs.framework.core.echoCommandForText +import org.domaindrivenarchitecture.provs.test.defaultTestContainer import org.domaindrivenarchitecture.provs.test.tags.ContainerTest -import org.domaindrivenarchitecture.provs.test.tags.NonCi import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test @@ -56,9 +55,10 @@ internal class UtilsKtTest { } @Test + @ContainerTest fun echoCommandForText_in_ubuntu_container() { // given - val prov = docker() + val prov = defaultTestContainer() // when val testMultiLineString = """