forked from TrueCloudLab/distribution
Add TODO about manifest tampering test
This commit is contained in:
parent
e6e0219065
commit
17b32e0aa0
1 changed files with 4 additions and 0 deletions
|
@ -250,6 +250,10 @@ func TestManifestAPI(t *testing.T) {
|
|||
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
|
||||
expectedLayers := make(map[digest.Digest]io.ReadSeeker)
|
||||
|
||||
|
|
Loading…
Reference in a new issue