From 93b65847ca06b5bce74c5b7ec0b401094476c828 Mon Sep 17 00:00:00 2001 From: Richard Scothern Date: Mon, 11 Jan 2016 12:52:21 -0800 Subject: [PATCH] Fix manifest API unit tests Signed-off-by: Richard Scothern --- docs/handlers/api_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/handlers/api_test.go b/docs/handlers/api_test.go index 8c5a1693e..a1aac3cde 100644 --- a/docs/handlers/api_test.go +++ b/docs/handlers/api_test.go @@ -1681,9 +1681,9 @@ func testManifestDelete(t *testing.T, env *testEnv, args manifestArgs) { // -------------------- // Uupload manifest by tag - tag := signedManifest.Tag + tag := "atag" manifestTagURL, err := env.builder.BuildManifestURL(imageName, tag) - resp = putManifest(t, "putting signed manifest by tag", manifestTagURL, signedManifest) + resp = putManifest(t, "putting signed manifest by tag", manifestTagURL, args.mediaType, manifest) checkResponse(t, "putting signed manifest by tag", resp, http.StatusCreated) checkHeaders(t, resp, http.Header{ "Location": []string{manifestDigestURL},