Skip to content

Commit

Permalink
Remove token request expectation in NOAA client
Browse files Browse the repository at this point in the history
Update integration tests for verbose logging mode.  We now use the
access token instead of refreshing.

Co-authored-by: Brendan Smith <brsmith@pivotal.io>
  • Loading branch information
Alexander Berezovsky and bwasmith committed May 6, 2019
1 parent 4a2de69 commit a3840f4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions integration/v6/isolated/verbose_flag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,9 +384,6 @@ var _ = Describe("Verbose", func() {

session := helpers.CFWithEnv(envMap, command...)

Eventually(session).Should(Say("REQUEST:"))
Eventually(session).Should(Say("POST /oauth/token"))
Eventually(session).Should(Say(`\[PRIVATE DATA HIDDEN\]`))
Eventually(session).Should(Say("WEBSOCKET REQUEST:"))
Eventually(session).Should(Say(`Authorization: \[PRIVATE DATA HIDDEN\]`))
Eventually(session.Kill()).Should(Exit())
Expand Down Expand Up @@ -445,9 +442,6 @@ var _ = Describe("Verbose", func() {
contents, err := ioutil.ReadFile(tmpDir + filePath)
Expect(err).ToNot(HaveOccurred())

Expect(string(contents)).To(MatchRegexp("REQUEST:"))
Expect(string(contents)).To(MatchRegexp("POST /oauth/token"))
Expect(string(contents)).To(MatchRegexp(`\[PRIVATE DATA HIDDEN\]`))
Expect(string(contents)).To(MatchRegexp("WEBSOCKET REQUEST:"))
Expect(string(contents)).To(MatchRegexp(`Authorization: \[PRIVATE DATA HIDDEN\]`))

Expand Down

0 comments on commit a3840f4

Please sign in to comment.