Просмотр исходного кода

Removed test checking compose has an error message on default context

Signed-off-by: Guillaume Tardif <[email protected]>
Guillaume Tardif 5 лет назад
Родитель
Сommit
a6316a90c7
1 измененных файлов с 0 добавлено и 17 удалено
  1. 0 17
      tests/e2e/e2e_test.go

+ 0 - 17
tests/e2e/e2e_test.go

@@ -47,23 +47,6 @@ func TestMain(m *testing.M) {
 	os.Exit(exitCode)
 }
 
-func TestComposeNotImplemented(t *testing.T) {
-	c := NewParallelE2eCLI(t, binDir)
-	res := c.RunDockerCmd("context", "show")
-	res.Assert(t, icmd.Expected{Out: "default"})
-	res = c.RunDockerOrExitError("compose", "up")
-	res.Assert(t, icmd.Expected{
-		ExitCode: 1,
-		Err:      `Command "compose up" not available in current context (default)`,
-	})
-
-	res = c.RunDockerOrExitError("compose", "-f", "titi.yaml", "up")
-	res.Assert(t, icmd.Expected{
-		ExitCode: 1,
-		Err:      `Command "compose up" not available in current context (default)`,
-	})
-}
-
 func TestContextDefault(t *testing.T) {
 	c := NewParallelE2eCLI(t, binDir)