Skip to content

revert

revert #1609

Triggered via push October 14, 2024 19:31
Status Failure
Total duration 2m 57s
Artifacts

test.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors
test: internal/pkg/cache/redis_test.go#L37
not enough arguments in call to cache.NewRedisCache
test: internal/pkg/cache/redis_test.go#L134
not enough arguments in call to cache.NewRedisCache
test: internal/pkg/cache/redis_test.go#L154
not enough arguments in call to cache.NewRedisCache
test: internal/pkg/test/web_test.go#L32
cannot use mocks.NewRedisCache(t) (value of type *mocks.RedisCache) as "github.com/bangumi/server/internal/pkg/cache".RedisCache value in struct literal: *mocks.RedisCache does not implement "github.com/bangumi/server/internal/pkg/cache".RedisCache (missing method mget)
test: internal/pkg/test/web_test.go#L41
cannot use mocks.NewRedisCache(t) (value of type *mocks.RedisCache) as "github.com/bangumi/server/internal/pkg/cache".RedisCache value in struct literal: *mocks.RedisCache does not implement "github.com/bangumi/server/internal/pkg/cache".RedisCache (missing method mget)
test: web/handler/subject/get_test.go#L59
not enough arguments in call to subjectHandler.New
test
Process completed with exit code 201.