Skip to content

Commit

Permalink
fix(text): unit tests no longer expect default broker
Browse files Browse the repository at this point in the history
Signed-off-by: Calum Murray <[email protected]>
  • Loading branch information
Cali0707 committed Jul 4, 2024
1 parent f703fb9 commit c8ba60e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pkg/apis/eventing/v1beta1/eventtype_defaults_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ func TestEventTypeDefaults(t *testing.T) {
"nil spec": {
initial: EventType{},
expected: EventType{
Spec: EventTypeSpec{
Broker: "default",
},
Spec: EventTypeSpec{},
},
},
"broker empty": {
Expand All @@ -53,7 +51,6 @@ func TestEventTypeDefaults(t *testing.T) {
Spec: EventTypeSpec{
Type: "test-type",
Source: testSource,
Broker: "default",
Schema: testSchema,
},
},
Expand All @@ -70,7 +67,6 @@ func TestEventTypeDefaults(t *testing.T) {
Spec: EventTypeSpec{
Type: "test-type",
Source: testSource,
Broker: "default",
Schema: testSchema,
},
},
Expand Down

0 comments on commit c8ba60e

Please sign in to comment.