Skip to content

NM-31: make backend for artist page #30

NM-31: make backend for artist page

NM-31: make backend for artist page #30

Triggered via pull request October 23, 2024 14:16
@bocharovatdbocharovatd
synchronize #32
NM-31
Status Failure
Total duration 50s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Lint
issues found
Test: internal/album/delivery/http/handlers_test.go#L28
cannot use usecaseMock (variable of type *mocks.MockUsecase) as album.Usecase value in argument to NewAlbumHandlers: *mocks.MockUsecase does not implement album.Usecase (missing method GetAllByArtistID)
Test: internal/album/delivery/http/handlers_test.go#L94
cannot use usecaseMock (variable of type *mocks.MockUsecase) as album.Usecase value in argument to NewAlbumHandlers: *mocks.MockUsecase does not implement album.Usecase (missing method GetAllByArtistID)
Test: internal/album/delivery/http/handlers_test.go#L159
cannot use usecaseMock (variable of type *mocks.MockUsecase) as album.Usecase value in argument to NewAlbumHandlers: *mocks.MockUsecase does not implement album.Usecase (missing method GetAllByArtistID)
Test: internal/album/usecase/usecase_test.go#L36
cannot use albumRepoMock (variable of type *"github.com/go-park-mail-ru/2024_2_NovaCode/internal/album/mock".MockRepo) as album.Repo value in argument to NewAlbumUsecase: *"github.com/go-park-mail-ru/2024_2_NovaCode/internal/album/mock".MockRepo does not implement album.Repo (missing method GetAllByArtistID)
Test: internal/album/usecase/usecase_test.go#L87
cannot use albumRepoMock (variable of type *"github.com/go-park-mail-ru/2024_2_NovaCode/internal/album/mock".MockRepo) as album.Repo value in argument to NewAlbumUsecase: *"github.com/go-park-mail-ru/2024_2_NovaCode/internal/album/mock".MockRepo does not implement album.Repo (missing method GetAllByArtistID)
Test: internal/album/usecase/usecase_test.go#L113
cannot use albumRepoMock (variable of type *"github.com/go-park-mail-ru/2024_2_NovaCode/internal/album/mock".MockRepo) as album.Repo value in argument to NewAlbumUsecase: *"github.com/go-park-mail-ru/2024_2_NovaCode/internal/album/mock".MockRepo does not implement album.Repo (missing method GetAllByArtistID)
Test: internal/album/usecase/usecase_test.go#L169
cannot use albumRepoMock (variable of type *"github.com/go-park-mail-ru/2024_2_NovaCode/internal/album/mock".MockRepo) as album.Repo value in argument to NewAlbumUsecase: *"github.com/go-park-mail-ru/2024_2_NovaCode/internal/album/mock".MockRepo does not implement album.Repo (missing method GetAllByArtistID)
Test: internal/album/usecase/usecase_test.go#L197
cannot use albumRepoMock (variable of type *"github.com/go-park-mail-ru/2024_2_NovaCode/internal/album/mock".MockRepo) as album.Repo value in argument to NewAlbumUsecase: *"github.com/go-park-mail-ru/2024_2_NovaCode/internal/album/mock".MockRepo does not implement album.Repo (missing method GetAllByArtistID)
Test: internal/album/usecase/usecase_test.go#L255
cannot use albumRepoMock (variable of type *"github.com/go-park-mail-ru/2024_2_NovaCode/internal/album/mock".MockRepo) as album.Repo value in argument to NewAlbumUsecase: *"github.com/go-park-mail-ru/2024_2_NovaCode/internal/album/mock".MockRepo does not implement album.Repo (missing method GetAllByArtistID)
Test: internal/track/delivery/http/handlers_test.go#L27
cannot use usecaseMock (variable of type *mocks.MockUsecase) as track.Usecase value in argument to NewTrackHandlers: *mocks.MockUsecase does not implement track.Usecase (missing method GetAllByArtistID)