fix test createUser

This commit is contained in:
ansgarz 2022-01-17 20:38:21 +01:00
parent 24c0b796f0
commit 080b006d6e

View file

@ -1,6 +1,5 @@
package org.domaindrivenarchitecture.provs.ubuntu.user package org.domaindrivenarchitecture.provs.ubuntu.user
import org.domaindrivenarchitecture.provs.core.processors.ContainerStartMode
import org.domaindrivenarchitecture.provs.test.defaultTestContainer import org.domaindrivenarchitecture.provs.test.defaultTestContainer
import org.domaindrivenarchitecture.provs.test.tags.ContainerTest import org.domaindrivenarchitecture.provs.test.tags.ContainerTest
import org.domaindrivenarchitecture.provs.ubuntu.filesystem.base.createDir import org.domaindrivenarchitecture.provs.ubuntu.filesystem.base.createDir
@ -43,7 +42,7 @@ internal class ProvisionUserKtTest {
@ContainerTest @ContainerTest
fun createUser() { fun createUser() {
// given // given
val a = defaultTestContainer(ContainerStartMode.CREATE_NEW_KILL_EXISTING) val a = defaultTestContainer()
val newUser = "testnewuser3" val newUser = "testnewuser3"
a.task { a.task {
createDir(".ssh") createDir(".ssh")