Merge pull request #38 from go-park-mail-ru/testing #71
Annotations
10 errors and 1 warning
Linters:
internal/pkg/adverts/usecase/usecase_test.go#L1
: # 2024_1_TeaStealers/internal/pkg/adverts/usecase_test [2024_1_TeaStealers/internal/pkg/adverts/usecase.test]
|
Linters:
internal/pkg/adverts/usecase/usecase_test.go#L24
cannot use mockRepo (variable of type *adverts_mock.MockAdvertRepo) as adverts.AdvertRepo value in argument to usecase.NewAdvertUsecase: *adverts_mock.MockAdvertRepo does not implement adverts.AdvertRepo (missing method GetPriority)
|
Linters:
internal/pkg/adverts/usecase/usecase_test.go#L105
cannot use mockRepo (variable of type *adverts_mock.MockAdvertRepo) as adverts.AdvertRepo value in argument to usecase.NewAdvertUsecase: *adverts_mock.MockAdvertRepo does not implement adverts.AdvertRepo (missing method GetPriority)
|
Linters:
internal/pkg/adverts/usecase/usecase_test.go#L189
cannot use mockRepo (variable of type *adverts_mock.MockAdvertRepo) as adverts.AdvertRepo value in argument to usecase.NewAdvertUsecase: *adverts_mock.MockAdvertRepo does not implement adverts.AdvertRepo (missing method GetPriority)
|
Linters:
internal/pkg/adverts/usecase/usecase_test.go#L274
cannot use mockRepo (variable of type *adverts_mock.MockAdvertRepo) as adverts.AdvertRepo value in argument to usecase.NewAdvertUsecase: *adverts_mock.MockAdvertRepo does not implement adverts.AdvertRepo (missing method GetPriority)
|
Linters:
internal/pkg/adverts/usecase/usecase_test.go#L306
cannot use mockRepo (variable of type *adverts_mock.MockAdvertRepo) as adverts.AdvertRepo value in argument to usecase.NewAdvertUsecase: *adverts_mock.MockAdvertRepo does not implement adverts.AdvertRepo (missing method GetPriority)
|
Linters:
internal/pkg/adverts/usecase/usecase_test.go#L354
cannot use mockRepo (variable of type *adverts_mock.MockAdvertRepo) as adverts.AdvertRepo value in argument to usecase.NewAdvertUsecase: *adverts_mock.MockAdvertRepo does not implement adverts.AdvertRepo (missing method GetPriority)
|
Linters:
internal/pkg/adverts/usecase/usecase_test.go#L377
cannot use mockRepo (variable of type *adverts_mock.MockAdvertRepo) as adverts.AdvertRepo value in argument to usecase.NewAdvertUsecase: *adverts_mock.MockAdvertRepo does not implement adverts.AdvertRepo (missing method GetPriority) (typecheck)
|
Linters:
internal/pkg/auth/usecase/usecase_test.go#L1
: # 2024_1_TeaStealers/internal/pkg/auth/usecase_test [2024_1_TeaStealers/internal/pkg/auth/usecase.test]
|
Linters:
internal/pkg/auth/usecase/usecase_test.go#L102
cannot use mockRepo (variable of type *auth_mock.MockAuthRepo) as auth.AuthRepo value in argument to usecase.NewAuthUsecase: *auth_mock.MockAuthRepo does not implement auth.AuthRepo (missing method CheckUserPassword) (typecheck)
|
Linters
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|