Migrate store methods to use request.Context instead of context.Context (#24836)

Этот коммит содержится в:
Ben Schumacher
2023-10-11 13:08:55 +02:00
коммит произвёл GitHub
родитель 0d5a8b8841
Коммит 13c05a571f
127 изменённых файлов: 1030 добавлений и 921 удалений

Просмотреть файл

@@ -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)
}