Skip to content

Commit

Permalink
try removing host
Browse files Browse the repository at this point in the history
  • Loading branch information
kira-m committed Jul 23, 2024
1 parent 0131f93 commit 4169552
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions cmd/orb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2214,7 +2214,6 @@ query ListOrbs ($after: String!, $certifiedOnly: Boolean!) {
"orb", "list",
"--sort", "builds",
"--skip-update-check",
"--host", tempSettings.TestServer.URL(),
)
session, err := gexec.Start(command, GinkgoWriter, GinkgoWriter)
Expect(err).ShouldNot(HaveOccurred())
Expand All @@ -2229,6 +2228,9 @@ second (0.8.0)
third (0.9.0)
first (0.7.0)
In order to see more details about each orb, type: ` + "`circleci orb info orb-namespace/orb-name`" + `
Search, filter, and view sources for all Orbs online at https://circleci.com/developer/orbs/
`))
})

Expand All @@ -2253,6 +2255,9 @@ third (0.9.0)
first (0.7.0)
second (0.8.0)
In order to see more details about each orb, type: ` + "`circleci orb info orb-namespace/orb-name`" + `
Search, filter, and view sources for all Orbs online at https://circleci.com/developer/orbs/
`))
})

Expand All @@ -2277,6 +2282,9 @@ second (0.8.0)
first (0.7.0)
third (0.9.0)
In order to see more details about each orb, type: ` + "`circleci orb info orb-namespace/orb-name`" + `
Search, filter, and view sources for all Orbs online at https://circleci.com/developer/orbs/
`))
})
})
Expand Down Expand Up @@ -2466,6 +2474,9 @@ query ListOrbs ($after: String!, $certifiedOnly: Boolean!) {
Eventually(session.Out).Should(gbytes.Say("circleci/codecov-clojure \\(0.0.4\\)"))
// Include an orb with contents from the second mocked response
Eventually(session.Out).Should(gbytes.Say("zzak/test4 \\(0.1.0\\)"))

Eventually(session.Out).Should(gbytes.Say("In order to see more details about each orb, type: `circleci orb info orb-namespace/orb-name`"))
Eventually(session.Out).Should(gbytes.Say("Search, filter, and view sources for all Orbs online at https://circleci.com/developer/orbs/"))
Expect(tempSettings.TestServer.ReceivedRequests()).Should(HaveLen(2))
})

Expand Down Expand Up @@ -3017,7 +3028,6 @@ foo.bar/account/api`))
command = exec.Command(pathCLI,
"orb", "info",
"--skip-update-check",
"--host", tempSettings.TestServer.URL(),
"my/orb@dev:foo",
)

Expand Down

0 comments on commit 4169552

Please sign in to comment.