diff --git a/test/e2e/suite/command/manifest_index.go b/test/e2e/suite/command/manifest_index.go index 3a8879d3b..b760d71f5 100644 --- a/test/e2e/suite/command/manifest_index.go +++ b/test/e2e/suite/command/manifest_index.go @@ -143,10 +143,10 @@ var _ = Describe("1.1 registry users:", func() { }) It("should fail if a wrong reference is given as the manifest to add", func() { // create an index for testing purpose - ORAS("manifest", "index", "create", RegistryRef(ZOTHost, ImageRepo, "update-add"), + ORAS("manifest", "index", "create", RegistryRef(ZOTHost, ImageRepo, "update-wrong-tag"), string(multi_arch.LinuxAMD64.Digest), string(multi_arch.LinuxARM64.Digest)).Exec() // add a manifest to the index - ORAS("manifest", "index", "update", RegistryRef(ZOTHost, ImageRepo, "update-add"), + ORAS("manifest", "index", "update", RegistryRef(ZOTHost, ImageRepo, "update-wrong-tag"), "--add", "does-not-exist").ExpectFailure(). MatchErrKeyWords("Error:", "could not resolve", "does-not-exist").Exec() })