Removed test checking compose has an error message on default context

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
This commit is contained in:
Guillaume Tardif 2020-12-07 12:56:27 +01:00
parent ec5afcfd4d
commit a6316a90c7
1 changed files with 0 additions and 17 deletions

View File

@ -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)