client/compose_test: fix error message checked by the test
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
62d8ad4efe
commit
a0cad4f9a6
1 changed files with 1 additions and 1 deletions
|
|
@ -572,6 +572,6 @@ func TestComposeUnsupportedMountPointV0(t *testing.T) {
|
|||
require.NoError(t, err, "failed with a client error")
|
||||
require.NotNil(t, resp)
|
||||
require.Equal(t, "ManifestCreationFailed", resp.Errors[0].ID)
|
||||
require.Contains(t, resp.Errors[0].Msg, "The following custom mountpoints are not supported")
|
||||
require.Contains(t, resp.Errors[0].Msg, "path \"/etc\" is not allowed")
|
||||
require.Equal(t, 0, len(body))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue