ソースを参照

Use new context rm command for e2e

Signed-off-by: Christopher Crone <[email protected]>
Christopher Crone 5 年 前
コミット
5a2a5f5f60
1 ファイル変更1 行追加1 行削除
  1. 1 1
      tests/e2e/e2e.go

+ 1 - 1
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()