Skip to content
Snippets Groups Projects
Commit 3d5cb78f authored by Alexander Berezovsky's avatar Alexander Berezovsky Committed by Andrew Crump
Browse files

WIP: Skip additional tests for client credentials

[#166068482](https://www.pivotaltracker.com/story/show/166068482

)

Co-authored-by: default avatarBrendan Smith <brsmith@pivotal.io>
parent 6d41ac28
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,9 @@ var _ = Describe("service-brokers command", func() {
})
It("prints a table of service brokers", func() {
Eventually(session).Should(Say("Getting service brokers as admin..."))
if !helpers.ClientCredentialsTestMode() {
Eventually(session).Should(Say("Getting service brokers as admin..."))
}
Eventually(session).Should(Say(`name\s+url`))
Eventually(session).Should(Say(`%s\s+%s`, broker.Name(), broker.URL()))
Eventually(session).Should(Exit(0))
......
......@@ -34,6 +34,7 @@ var _ = Describe("ssh-code command", func() {
When("the environment is setup correctly", func() {
BeforeEach(func() {
helpers.LoginCF()
helpers.SkipIfClientCredentialsTestMode()
})
It("returns a one time passcode for ssh", func() {
......
......@@ -133,7 +133,9 @@ var _ = Describe("update-service command", func() {
When("updating to the same service plan (no-op)", func() {
It("displays an informative success message, exits 0", func() {
session := helpers.CF("update-service", serviceInstanceName, "-p", broker.ServicePlanName())
Eventually(session).Should(Say("Updating service instance %s as %s...", serviceInstanceName, username))
if !helpers.ClientCredentialsTestMode() {
Eventually(session).Should(Say("Updating service instance %s as %s...", serviceInstanceName, username))
}
Eventually(session).Should(Say("OK"))
Eventually(session).Should(Exit(0))
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment