test: 更新测试文件适配构造函数签名变更
This commit is contained in:
@@ -14,7 +14,7 @@ import (
|
||||
|
||||
func newTestMiMoService(handler http.HandlerFunc) (*MiMoService, *httptest.Server) {
|
||||
srv := httptest.NewServer(handler)
|
||||
s := NewMiMoService("test-key", "mimo-v2.5-asr", srv.URL, zap.NewNop().Sugar())
|
||||
s := NewMiMoService("test-key", "mimo-v2.5-asr", srv.URL, 0, zap.NewNop().Sugar())
|
||||
return s, srv
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user