Skip to content

Commit

Permalink
Remove unused channel from test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalloc committed Apr 2, 2024
1 parent 8036e6f commit 0956c87
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions internal/eventstream/append_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,17 @@ func TestAppend(t *testing.T) {
type dependencies struct {
Journals *memoryjournal.BinaryStore
Supervisor *Supervisor
Events <-chan Event
Packer *envelope.Packer
}

setup := func(t test.TestingT) (deps dependencies) {
deps.Journals = &memoryjournal.BinaryStore{}

events := make(chan Event, 100)

deps.Supervisor = &Supervisor{
Journals: deps.Journals,
Logger: spruce.NewLogger(t),
}

deps.Events = events

deps.Packer = &envelope.Packer{
Application: identitypb.New("<app>", uuidpb.Generate()),
Marshaler: Marshaler,
Expand Down

0 comments on commit 0956c87

Please sign in to comment.