diff --git a/engine/websocketroutine_manager_test.go b/engine/websocketroutine_manager_test.go index 3d175334767..c6e1b65c74b 100644 --- a/engine/websocketroutine_manager_test.go +++ b/engine/websocketroutine_manager_test.go @@ -21,7 +21,7 @@ func TestWebsocketRoutineManagerSetup(t *testing.T) { t.Errorf("error '%v', expected '%v'", err, errNilExchangeManager) } - _, err = setupWebsocketRoutineManager(NewExchangeManager(), nil, nil, nil, false) + _, err = setupWebsocketRoutineManager(NewExchangeManager(), (*OrderManager)(nil), nil, nil, false) if !errors.Is(err, errNilOrderManager) { t.Errorf("error '%v', expected '%v'", err, errNilOrderManager) }