Skip to content

Commit 6c99cb7

Browse files
committed
e2e add check OSB plans number assertion
1 parent e46a39b commit 6c99cb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/e2e/service_instances_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ var _ = Describe("Service Instances", func() {
220220
catalogResp, err := adminClient.R().SetResult(&plansResp).Get("/v3/service_plans?service_broker_guids=" + brokerGUID)
221221
Expect(err).NotTo(HaveOccurred())
222222
Expect(catalogResp).To(HaveRestyStatusCode(http.StatusOK))
223-
Expect(plansResp.Resources).NotTo(BeEmpty())
223+
Expect(plansResp.Resources).To(HaveLen(2))
224224

225225
serviceInstanceGUID = createManagedServiceInstance(brokerGUID, spaceGUID, generateGUID("managed-service-instance"))
226226

0 commit comments

Comments
 (0)