@@ -62,13 +62,13 @@ func (suite *ListReposCommandTestSuite) TestListReposCmd() {
6262 {
6363 name : "03-listing repos with --output json works when there are repos" ,
6464 cmd : fmt .Sprintf (`list repos --output json %s` , suite .acmeOrgKosliArguments ),
65- goldenJson : []jsonCheck {{"_embedded. repos" , "non-empty" }},
65+ goldenJson : []jsonCheck {{"repos" , "non-empty" }},
6666 },
6767 // THIS TEST IS FLAKY IN CI SINCE CI VARIABLES ARE SET THERE AND REPOS MAY EXIST FROM OTHER TESTS
6868 // {
6969 // name: "04-listing repos with --output json works when there are no repos",
7070 // cmd: fmt.Sprintf(`list repos --output json %s`, suite.defaultKosliArguments),
71- // goldenJson: []jsonCheck{{"_embedded. repos", "[]"}},
71+ // goldenJson: []jsonCheck{{"repos", "[]"}},
7272 // },
7373 {
7474 wantError : true ,
@@ -101,7 +101,7 @@ func (suite *ListReposCommandTestSuite) TestListReposCmd() {
101101 {
102102 name : "10-listing repos with --name filter and --output json works" ,
103103 cmd : fmt .Sprintf (`list repos --name kosli-dev/cli --output json %s` , suite .acmeOrgKosliArguments ),
104- goldenJson : []jsonCheck {{"_embedded. repos" , "non-empty" }},
104+ goldenJson : []jsonCheck {{"repos" , "non-empty" }},
105105 },
106106 {
107107 name : "11-listing repos with --provider filter works" ,
0 commit comments