Use new context rm command for e2e

Signed-off-by: Christopher Crone <christopher.crone@docker.com>
This commit is contained in:
Christopher Crone 2020-05-12 11:45:02 +02:00
parent 1d3ffc0254
commit 5a2a5f5f60
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ func main() {
NewDockerCommand("context", "create", "test-example", "example").ExecOrDie()
//Expect(output).To(ContainSubstring("test-example context acitest created"))
})
defer NewCommand("docker", "context", "rm", "test-example", "-f").ExecOrDie()
defer NewDockerCommand("context", "rm", "test-example").ExecOrDie()
It("uses the test context", func() {
currentContext := NewCommand("docker", "context", "use", "test-example").ExecOrDie()