From f517191da1e2844f84f115d60969de9eae3f87ec Mon Sep 17 00:00:00 2001 From: Milos Gajdos Date: Thu, 17 Aug 2023 09:37:26 +0100 Subject: [PATCH] Add small update to api tests Signed-off-by: Milos Gajdos --- registry/handlers/api_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/registry/handlers/api_test.go b/registry/handlers/api_test.go index 30613e6b..a43e806e 100644 --- a/registry/handlers/api_test.go +++ b/registry/handlers/api_test.go @@ -420,8 +420,7 @@ func TestCatalogAPI(t *testing.T) { envWithLessImages := newTestEnv(t, false) for _, image := range allCatalog[0:(maxEntries - 1)] { - imageName, _ := reference.WithName(image) - testManifestAPISchema2(t, envWithLessImages, imageName, "sometag") + createRepository(envWithLessImages, t, image, "sometag") } catalogURL, err = envWithLessImages.builder.BuildCatalogURL(values)