Skip to content

Commit

Permalink
A new test was added after prechecks happened for last pr. (openshift…
Browse files Browse the repository at this point in the history
  • Loading branch information
n3wscott committed Mar 15, 2018
1 parent 4b5d159 commit eac3f96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/svcat/service-catalog/plan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ var _ = Describe("Plan", func() {

Describe("RetrivePlans", func() {
It("Calls the generated v1beta1 List method", func() {
plans, err := sdk.RetrievePlans()
plans, err := sdk.RetrievePlans(nil)

Expect(err).NotTo(HaveOccurred())
Expect(plans).Should(ConsistOf(*sp, *sp2))
Expand All @@ -64,7 +64,7 @@ var _ = Describe("Plan", func() {
return true, nil, fmt.Errorf(errorMessage)
})
sdk.ServiceCatalogClient = badClient
_, err := sdk.RetrievePlans()
_, err := sdk.RetrievePlans(nil)

Expect(err).To(HaveOccurred())
Expect(err.Error()).Should(ContainSubstring(errorMessage))
Expand Down

0 comments on commit eac3f96

Please sign in to comment.