Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit a6316a9

Browse files
committed
Removed test checking compose has an error message on default context
Signed-off-by: Guillaume Tardif <[email protected]>
1 parent ec5afcf commit a6316a9

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

tests/e2e/e2e_test.go

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -47,23 +47,6 @@ func TestMain(m *testing.M) {
4747
os.Exit(exitCode)
4848
}
4949

50-
func TestComposeNotImplemented(t *testing.T) {
51-
c := NewParallelE2eCLI(t, binDir)
52-
res := c.RunDockerCmd("context", "show")
53-
res.Assert(t, icmd.Expected{Out: "default"})
54-
res = c.RunDockerOrExitError("compose", "up")
55-
res.Assert(t, icmd.Expected{
56-
ExitCode: 1,
57-
Err: `Command "compose up" not available in current context (default)`,
58-
})
59-
60-
res = c.RunDockerOrExitError("compose", "-f", "titi.yaml", "up")
61-
res.Assert(t, icmd.Expected{
62-
ExitCode: 1,
63-
Err: `Command "compose up" not available in current context (default)`,
64-
})
65-
}
66-
6750
func TestContextDefault(t *testing.T) {
6851
c := NewParallelE2eCLI(t, binDir)
6952

0 commit comments

Comments
 (0)