Merge pull request #5979 from thaJeztah/fix_TestNewPortCommandOutput

cli/command/container: TestNewPortCommandOutput: remove DCT
This commit is contained in:
Sebastiaan van Stijn 2025-04-01 15:47:12 +02:00 committed by GitHub
commit c911ced1a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,7 +65,7 @@ func TestNewPortCommandOutput(t *testing.T) {
} }
return ci, nil return ci, nil
}, },
}, test.EnableContentTrust) })
cmd := NewPortCommand(cli) cmd := NewPortCommand(cli)
cmd.SetErr(io.Discard) cmd.SetErr(io.Discard)
cmd.SetArgs([]string{"some_container", tc.port}) cmd.SetArgs([]string{"some_container", tc.port})