[MM-61074] Fix errcheck issues in oauth_test.go and web_test.go (#30707)

Co-authored-by: Claude <noreply@anthropic.com>
Этот коммит содержится в:
Ben Schumacher
2025-05-07 12:41:10 +02:00
коммит произвёл GitHub
родитель b8b3efda48
Коммит bfb15ab179
18 изменённых файлов: 288 добавлений и 303 удалений

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

@@ -49,8 +49,8 @@ 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.TB) *Context {
logger := mlog.CreateConsoleTestLogger(t)
func TestContext(tb testing.TB) *Context {
logger := mlog.CreateConsoleTestLogger(tb)
return EmptyContext(logger)
}