Migrate store methods to use request.Context instead of context.Context (#24836)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
0d5a8b8841
Коммит
13c05a571f
@@ -49,7 +49,7 @@ func EmptyContext(logger mlog.LoggerIFace) *Context {
|
||||
|
||||
// TestContext creates an empty context with a new logger to use in testing where a test helper is
|
||||
// not required.
|
||||
func TestContext(t *testing.T) *Context {
|
||||
func TestContext(t testing.TB) *Context {
|
||||
logger := mlog.CreateConsoleTestLogger(t)
|
||||
return EmptyContext(logger)
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user