architecture cleanup
This commit is contained in:
@@ -146,7 +146,7 @@ func TestPlaylistControllerFailurePolicy(t *testing.T) {
|
||||
t.Fatalf("NewPlaylistController() error = %v", err)
|
||||
}
|
||||
commands := make(chan PlaylistCommand, 2)
|
||||
events := make(chan PlaylistReadiness, 2)
|
||||
events := make(chan PlaylistEvent, 2)
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
result := make(chan error, 1)
|
||||
go func() { result <- controller.Run(ctx, commands, events) }()
|
||||
|
||||
Reference in New Issue
Block a user