Merge pull request #51 from go-park-mail-ru/task/tests_for_trips #266
Annotations
10 errors and 1 warning
internal/pkg/attractions/repo/place_repository_test.go#L43
cannot use db (variable of type *sql.DB) as *dblogger.DB value in argument to NewPLaceRepository
|
internal/pkg/attractions/repo/place_repository_test.go#L61
cannot use db (variable of type *sql.DB) as *dblogger.DB value in argument to NewPLaceRepository
|
internal/pkg/attractions/repo/place_repository_test.go#L78
cannot use db (variable of type *sql.DB) as *dblogger.DB value in argument to NewPLaceRepository
|
internal/pkg/attractions/repo/place_repository_test.go#L134
cannot use db (variable of type *sql.DB) as *dblogger.DB value in argument to NewPLaceRepository
|
internal/pkg/attractions/repo/place_repository_test.go#L152
cannot use db (variable of type *sql.DB) as *dblogger.DB value in argument to NewPLaceRepository
|
internal/pkg/attractions/repo/place_repository_test.go#L191
cannot use db (variable of type *sql.DB) as *dblogger.DB value in argument to NewPLaceRepository (typecheck)
|
internal/pkg/attractions/usecase/usecase_test.go#L68
cannot use repo (variable of type *mock_attractions.MockPlaceRepo) as attractions.PlaceRepo value in argument to NewPlaceUsecase: *mock_attractions.MockPlaceRepo does not implement attractions.PlaceRepo (wrong type for method SearchPlaces)
|
internal/pkg/attractions/usecase/usecase_test.go#L112
cannot use repo (variable of type *mock_attractions.MockPlaceRepo) as attractions.PlaceRepo value in argument to NewPlaceUsecase: *mock_attractions.MockPlaceRepo does not implement attractions.PlaceRepo (wrong type for method SearchPlaces)
|
internal/pkg/attractions/usecase/usecase_test.go#L145
cannot use repo (variable of type *mock_attractions.MockPlaceRepo) as attractions.PlaceRepo value in argument to NewPlaceUsecase: *mock_attractions.MockPlaceRepo does not implement attractions.PlaceRepo (wrong type for method SearchPlaces)
|
internal/pkg/attractions/usecase/usecase_test.go#L188
cannot use repo (variable of type *mock_attractions.MockPlaceRepo) as attractions.PlaceRepo value in argument to NewPlaceUsecase: *mock_attractions.MockPlaceRepo does not implement attractions.PlaceRepo (wrong type for method SearchPlaces)
|
|
This job failed
Loading