From 5a2a5f5f609e7ec7b835d17a847cbdc67fe0723d Mon Sep 17 00:00:00 2001 From: Christopher Crone Date: Tue, 12 May 2020 11:45:02 +0200 Subject: [PATCH] Use new context rm command for e2e Signed-off-by: Christopher Crone --- tests/e2e/e2e.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/e2e.go b/tests/e2e/e2e.go index 838f6154..3b706487 100644 --- a/tests/e2e/e2e.go +++ b/tests/e2e/e2e.go @@ -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()