Skip to content

Commit 4281e19

Browse files
author
Paola Nicosia
committed
fix: mock test items
1 parent d584279 commit 4281e19

File tree

12 files changed

+12
-13
lines changed

12 files changed

+12
-13
lines changed

internal/cmd/catalog/apply/testdata/subdir/validItem1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"imageUrl": "some/path/to/image.png",
44
"name": "miactl test",
55
"itemId": "miactl-test",
6-
"lifecycleStatus": "stable",
6+
"lifecycleStatus": "published",
77
"releaseDate": "2025-03-28T15:54:57.563Z",
88
"repositoryUrl": "https://example.com/repo",
99
"resources": {

internal/cmd/catalog/apply/testdata/subdir/validItemWithImage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"name": "miactl test with image and local path relative to subfolder",
88
"itemId": "miactl-test-with-image-and-local-path-relative-to-subfolder",
9-
"lifecycleStatus": "stable",
9+
"lifecycleStatus": "published",
1010
"releaseDate": "2025-03-28T15:54:57.563Z",
1111
"repositoryUrl": "https://example.com/repo",
1212
"resources": {

internal/cmd/catalog/apply/testdata/subdir/validYaml.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Some description
44
imageUrl: "/some/path/to/image.png"
55
name: miactl test
66
itemId: miactl-test
7-
lifecycleStatus: "stable"
7+
lifecycleStatus: "published"
88
releaseDate: "2025-03-28T15:54:57.563Z"
99
repositoryUrl: https://example.com/repo
1010
resources:

internal/cmd/catalog/apply/testdata/subdir/validYaml.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Some description
44
imageUrl: "/some/path/to/image.png"
55
name: miactl test
66
itemId: miactl-test
7-
lifecycleStatus: "stable"
7+
lifecycleStatus: "published"
88
releaseDate: "2025-03-28T15:54:57.563Z"
99
repositoryUrl: https://example.com/repo
1010
resources:

internal/cmd/catalog/apply/testdata/validItem1.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"imageUrl": "path/to/image.png",
44
"name": "miactl test json",
55
"itemId": "miactl-test-json",
6-
"lifecycleStatus": "stable",
6+
"lifecycleStatus": "published",
77
"releaseDate": "2025-03-28T15:54:57.563Z",
88
"repositoryUrl": "https://example.com/repo",
99
"resources": {
@@ -47,7 +47,6 @@
4747
},
4848
"dockerImage": "containers.example.com/some-image:latest",
4949
"name": "api-portal",
50-
"repositoryUrl": "https://example.com/repo",
5150
"type": "plugin"
5251
}
5352
}

internal/cmd/catalog/apply/testdata/validItemWithImage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"name": "miactl test with image and local path",
88
"itemId": "miactl-test-with-image-and-local-path",
9-
"lifecycleStatus": "stable",
9+
"lifecycleStatus": "published",
1010
"releaseDate": "2025-03-28T15:54:57.563Z",
1111
"repositoryUrl": "https://example.com/repo",
1212
"resources": {

internal/cmd/catalog/apply/testdata/validItemWithImage2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"name": "miactl second element with image",
88
"itemId": "miactl-second-element-with-image",
9-
"lifecycleStatus": "stable",
9+
"lifecycleStatus": "published",
1010
"releaseDate": "2025-03-28T15:54:57.563Z",
1111
"repositoryUrl": "https://example.com/repo",
1212
"resources": {

internal/cmd/catalog/apply/testdata/validItemWithSameVersion.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"name": "1.0.0",
1111
"releaseNotes": "a new release"
1212
},
13-
"lifecycleStatus": "stable",
13+
"lifecycleStatus": "published",
1414
"releaseDate": "2025-03-28T15:54:57.563Z",
1515
"repositoryUrl": "https://example.com/repo",
1616
"resources": {

internal/cmd/catalog/apply/testdata/validItemWithVersion.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"name": "1.0.0",
1111
"releaseNotes": "a new release"
1212
},
13-
"lifecycleStatus": "stable",
13+
"lifecycleStatus": "published",
1414
"releaseDate": "2025-03-28T15:54:57.563Z",
1515
"repositoryUrl": "https://example.com/repo",
1616
"resources": {

internal/cmd/catalog/apply/testdata/validYaml.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Some description
44
imageUrl: "/some/path/to/image.png"
55
name: miactl test
66
itemId: miactl-test
7-
lifecycleStatus: "stable"
7+
lifecycleStatus: "published"
88
releaseDate: "2025-03-28T15:54:57.563Z"
99
repositoryUrl: https://example.com/repo
1010
resources:

0 commit comments

Comments
 (0)