Skip to content

Commit

Permalink
Update test. Still failing
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjohansen committed Jul 25, 2023
1 parent e5e6abe commit 3589e6f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/dispatcher/dispatcher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ func TestDispatcher_dispatch(t *testing.T) {
WorkerCount int
Reporter dispatcherstats.StatsReporter
DLX bool
DLXName string
}
type args struct {
ctx context.Context
Expand Down Expand Up @@ -296,6 +297,7 @@ func TestDispatcher_dispatch(t *testing.T) {
name: "invalid request",
fields: fields{
Reporter: &MockStatsReporter{},
DLXName: "test",
},
args: args{
ctx: context.TODO(),
Expand All @@ -318,6 +320,7 @@ func TestDispatcher_dispatch(t *testing.T) {
name: "valid event",
fields: fields{
Reporter: &MockStatsReporter{},
DLXName: "test",
},
args: args{
ctx: context.TODO(),
Expand Down Expand Up @@ -349,6 +352,7 @@ func TestDispatcher_dispatch(t *testing.T) {
WorkerCount: tt.fields.WorkerCount,
Reporter: tt.fields.Reporter,
DLX: tt.fields.DLX,
DLXName: tt.fields.DLXName,
}

client, err := v2.NewClient(tt.args.client)
Expand Down

0 comments on commit 3589e6f

Please sign in to comment.