Add TODO about manifest tampering test

This commit is contained in:
Stephen J Day 2014-12-01 17:40:14 -08:00
parent e6e0219065
commit 17b32e0aa0

View file

@ -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)