refactor filenames to reflect functionality

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
Ramkumar Chinchani
2022-06-17 07:14:14 +00:00
committed by Ramkumar Chinchani
parent a04f870a22
commit eed48c1715
6 changed files with 52 additions and 47 deletions
+3 -3
View File
@@ -316,15 +316,15 @@ func TestSyncInternal(t *testing.T) {
Layers: []ispec.Descriptor{desc},
}
err = syncCosignSignature(client, &storage.ImageStoreFS{}, *regURL, testImage, testImage,
err = syncCosignSignature(client, &storage.ImageStoreLocal{}, *regURL, testImage, testImage,
testImageTag, &ispec.Manifest{}, log)
So(err, ShouldNotBeNil)
err = syncCosignSignature(client, &storage.ImageStoreFS{}, *regURL, testImage, testImage,
err = syncCosignSignature(client, &storage.ImageStoreLocal{}, *regURL, testImage, testImage,
testImageTag, &manifest, log)
So(err, ShouldNotBeNil)
err = syncNotarySignature(client, &storage.ImageStoreFS{}, *regURL, testImage, testImage,
err = syncNotarySignature(client, &storage.ImageStoreLocal{}, *regURL, testImage, testImage,
"invalidDigest", ReferenceList{[]artifactspec.Descriptor{ref}}, log)
So(err, ShouldNotBeNil)
})