[MM-45769] Properly initialize the request.Context for imports and tests (#20659)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
ae482e6214
Коммит
cb6cee1883
@@ -327,7 +327,7 @@ func TestOldImportChannel(t *testing.T) {
|
||||
store := &mocks.Store{}
|
||||
config := &model.Config{}
|
||||
config.SetDefaults()
|
||||
ctx := &request.Context{}
|
||||
ctx := request.EmptyContext(nil)
|
||||
ctx.SetLogger(mlog.CreateConsoleTestLogger(true, mlog.LvlDebug))
|
||||
|
||||
t.Run("No panic on direct channel", func(t *testing.T) {
|
||||
|
||||
Ссылка в новой задаче
Block a user