[MM-61074] Fix errcheck issues in oauth_test.go and web_test.go (#30707)
Co-authored-by: Claude <noreply@anthropic.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
b8b3efda48
Коммит
bfb15ab179
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user