Add TODO about manifest tampering test
This commit is contained in:
parent
e6e0219065
commit
17b32e0aa0
@ -250,6 +250,10 @@ func TestManifestAPI(t *testing.T) {
|
|||||||
t.Fatalf("should have received two invalid digest errors: %v", respErrs)
|
t.Fatalf("should have received two invalid digest errors: %v", respErrs)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO(stevvooe): Add a test case where we take a mostly valid registry,
|
||||||
|
// tamper with the content and ensure that we get a unverified manifest
|
||||||
|
// error.
|
||||||
|
|
||||||
// Push 2 random layers
|
// Push 2 random layers
|
||||||
expectedLayers := make(map[digest.Digest]io.ReadSeeker)
|
expectedLayers := make(map[digest.Digest]io.ReadSeeker)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user