fix test createUser
This commit is contained in:
parent
24c0b796f0
commit
080b006d6e
1 changed files with 1 additions and 2 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue