Skip to content

Commit ea63d33

Browse files
authored
Merge pull request #510 from q384566678/backwards-config
Modify the test's config type
2 parents bccd72a + 2840e89 commit ea63d33

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

schema/manifest_backwards_compatibility_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ func TestBackwardsCompatibilityManifestList(t *testing.T) {
5050
fail bool
5151
}{
5252
{
53-
digest: "sha256:e588eb8123f2031a41f2e60bc27f30a4388e181e07410aff392f7dc96b585969",
53+
digest: "sha256:219f4b61132fe9d09b0ec5c15517be2ca712e4744b0e0cc3be71295b35b2a467",
5454
manifest: `{
5555
"schemaVersion": 2,
5656
"mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
5757
"manifests": [
5858
{
59-
"mediaType": "application/vnd.docker.distribution.manifest.v1+json",
59+
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
6060
"size": 2094,
6161
"digest": "sha256:7820f9a86d4ad15a2c4f0c0e5479298df2aa7c2f6871288e2ef8546f3e7b6783",
6262
"platform": {
@@ -65,7 +65,7 @@ func TestBackwardsCompatibilityManifestList(t *testing.T) {
6565
}
6666
},
6767
{
68-
"mediaType": "application/vnd.docker.distribution.manifest.v1+json",
68+
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
6969
"size": 1922,
7070
"digest": "sha256:ae1b0e06e8ade3a11267564a26e750585ba2259c0ecab59ab165ad1af41d1bdd",
7171
"platform": {
@@ -77,7 +77,7 @@ func TestBackwardsCompatibilityManifestList(t *testing.T) {
7777
}
7878
},
7979
{
80-
"mediaType": "application/vnd.docker.distribution.manifest.v1+json",
80+
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
8181
"size": 2084,
8282
"digest": "sha256:e4c0df75810b953d6717b8f8f28298d73870e8aa2a0d5e77b8391f16fdfbbbe2",
8383
"platform": {
@@ -86,7 +86,7 @@ func TestBackwardsCompatibilityManifestList(t *testing.T) {
8686
}
8787
},
8888
{
89-
"mediaType": "application/vnd.docker.distribution.manifest.v1+json",
89+
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
9090
"size": 2084,
9191
"digest": "sha256:07ebe243465ef4a667b78154ae6c3ea46fdb1582936aac3ac899ea311a701b40",
9292
"platform": {
@@ -96,7 +96,7 @@ func TestBackwardsCompatibilityManifestList(t *testing.T) {
9696
}
9797
},
9898
{
99-
"mediaType": "application/vnd.docker.distribution.manifest.v1+json",
99+
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
100100
"size": 2090,
101101
"digest": "sha256:fb2fc0707b86dafa9959fe3d29e66af8787aee4d9a23581714be65db4265ad8a",
102102
"platform": {

0 commit comments

Comments
 (0)