mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
integration/config: remove check that was already done in TestConfigInspect
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
26f2eddaa3
commit
632cc7019a
1 changed files with 2 additions and 6 deletions
|
@ -142,11 +142,7 @@ func TestConfigsCreateAndDelete(t *testing.T) {
|
|||
testName := "test_config-" + t.Name()
|
||||
configID := createConfig(ctx, t, c, testName, []byte("TESTINGDATA"), nil)
|
||||
|
||||
insp, _, err := c.ConfigInspectWithRaw(ctx, configID)
|
||||
assert.NilError(t, err)
|
||||
assert.Check(t, is.Equal(insp.Spec.Name, testName))
|
||||
|
||||
err = c.ConfigRemove(ctx, configID)
|
||||
err := c.ConfigRemove(ctx, configID)
|
||||
assert.NilError(t, err)
|
||||
|
||||
_, _, err = c.ConfigInspectWithRaw(ctx, configID)
|
||||
|
@ -159,7 +155,7 @@ func TestConfigsCreateAndDelete(t *testing.T) {
|
|||
"key2": "value2",
|
||||
})
|
||||
|
||||
insp, _, err = c.ConfigInspectWithRaw(ctx, configID)
|
||||
insp, _, err := c.ConfigInspectWithRaw(ctx, configID)
|
||||
assert.NilError(t, err)
|
||||
assert.Check(t, is.Equal(insp.Spec.Name, testName))
|
||||
assert.Check(t, is.Equal(len(insp.Spec.Labels), 2))
|
||||
|
|
Loading…
Reference in a new issue