Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmiskiewicz committed Dec 11, 2024
1 parent a66b26b commit 8b28c11
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions internal/broker/bind_create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,18 +240,6 @@ func TestCreateBindng(t *testing.T) {
assert.NotEmptyf(t, binding.Credentials.(Credentials).Kubeconfig, "kubeconfig is empty")
})

t.Run("should create binding", func(t *testing.T) {
binding, err := bindEndpoint.Bind(context.Background(), instanceID1, "binding-id-003", domain.BindDetails{
ServiceID: "123",
PlanID: fixture.PlanId,
RawParameters: json.RawMessage(`{}`),
}, false)

// then
require.NoError(t, err)
assert.NotEmptyf(t, binding.Credentials.(Credentials).Kubeconfig, "kubeconfig is empty")
})

t.Run("should report a conflict", func(t *testing.T) {
_, err := bindEndpoint.Bind(context.Background(), instanceID1, "binding-id-004", domain.BindDetails{
ServiceID: "123",
Expand Down

0 comments on commit 8b28c11

Please sign in to comment.