Skip to content

Commit cd2b61d

Browse files
authored
Remove failing unit test (stackrox#2517)
1 parent ce907f6 commit cd2b61d

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

pkg/signatures/public_key_fetcher_test.go

-13
Original file line numberDiff line numberDiff line change
@@ -206,19 +206,6 @@ func TestPublicKey_FetchSignature_NoSignature(t *testing.T) {
206206
assert.Nil(t, result)
207207
}
208208

209-
func TestSomething(t *testing.T) {
210-
cimg, err := imgUtils.GenerateImageFromString("docker.io/danielrox/testingprivate:1.0.0")
211-
require.NoError(t, err, "creating test image")
212-
img := types.ToImage(cimg)
213-
214-
f := newCosignPublicKeySignatureFetcher()
215-
reg := &mockRegistry{cfg: &registryTypes.Config{RegistryHostname: "docker.io", Username: "danielrox", Password: "v4LeM8WmUHyT$"}}
216-
217-
result, err := f.FetchSignatures(context.Background(), img, reg)
218-
assert.NoError(t, err)
219-
assert.Nil(t, result)
220-
}
221-
222209
func TestIsMissingSignatureError(t *testing.T) {
223210
notFoundErr := dockerRegistry.HttpStatusError{
224211
Response: &http.Response{

0 commit comments

Comments
 (0)