You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
res.Assert(t, icmd.Expected{ExitCode: 1, Err: `service "serviceA" has env_file declared.
43
-
service "serviceA" has environment variable(s) declared.
44
36
To avoid leaking sensitive data,`})
45
37
})
46
38
@@ -49,8 +41,6 @@ To avoid leaking sensitive data,`})
49
41
"-p", projectName, "publish", "test/test")
50
42
// we don't in which order the services will be loaded, so we can't predict the order of the error messages
51
43
assert.Assert(t, strings.Contains(res.Combined(), `service "serviceB" has env_file declared.`), res.Combined())
52
-
assert.Assert(t, strings.Contains(res.Combined(), `service "serviceB" has environment variable(s) declared.`), res.Combined())
53
-
assert.Assert(t, strings.Contains(res.Combined(), `service "serviceA" has environment variable(s) declared.`), res.Combined())
54
44
assert.Assert(t, strings.Contains(res.Combined(), `To avoid leaking sensitive data, you must either explicitly allow the sending of environment variables by using the --with-env flag,
55
45
or remove sensitive data from your Compose configuration
56
46
`), res.Combined())
@@ -70,52 +60,12 @@ or remove sensitive data from your Compose configuration
0 commit comments