Skip to content

Commit 684cf15

Browse files
committed
test(cli): remove JSON golden tests due to protojson instability (see #6430)
1 parent d5a2e4d commit 684cf15

4 files changed

Lines changed: 0 additions & 51 deletions

File tree

cmd/cli/app/artifact/artifact_get_test.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,6 @@ func TestArtifactGetCommand(t *testing.T) {
7272
MockSetup: setupSuccess,
7373
GoldenFileName: "artifact_get.table",
7474
},
75-
{
76-
Name: "get artifact - json output",
77-
Args: []string{"artifact", "get", "-i", "111", "-o", "json"},
78-
MockSetup: setupSuccess,
79-
GoldenFileName: "artifact_get.json",
80-
},
8175
{
8276
Name: "get artifact - yaml output",
8377
Args: []string{"artifact", "get", "-i", "111", "-o", "yaml"},

cmd/cli/app/artifact/artifact_list_test.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@ func TestArtifactListCommand(t *testing.T) {
4040
MockSetup: setupSuccess,
4141
GoldenFileName: "artifact_list.table",
4242
},
43-
{
44-
Name: "list artifacts - json output",
45-
Args: []string{"artifact", "list", "-o", "json"},
46-
MockSetup: setupSuccess,
47-
GoldenFileName: "artifact_list.json",
48-
},
4943
{
5044
Name: "list artifacts - yaml output",
5145
Args: []string{"artifact", "list", "-o", "yaml"},

cmd/cli/app/artifact/testdata/artifact_get.json.golden

Lines changed: 0 additions & 26 deletions
This file was deleted.

cmd/cli/app/artifact/testdata/artifact_list.json.golden

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)