refactor tests#51
Open
Gwynbleidd0241 wants to merge 1 commit into
Open
Annotations
8 errors and 1 warning
|
Lint
issues found
|
|
Lint:
internal/api/dashboards/v1/http/create_test.go#L95
tt.wantStatus undefined (type struct{name string; req createRequest; want createResponse; wantErr bool; mockArgs *mockArgs} has no field or method wantStatus) (typecheck)
|
|
Lint:
internal/api/dashboards/v1/http/create_test.go#L94
tt.wantRespBody undefined (type struct{name string; req createRequest; want createResponse; wantErr bool; mockArgs *mockArgs} has no field or method wantRespBody)
|
|
Lint:
internal/api/dashboards/v1/http/create_test.go#L86
tt.noUser undefined (type struct{name string; req createRequest; want createResponse; wantErr bool; mockArgs *mockArgs} has no field or method noUser)
|
|
Lint:
internal/api/dashboards/v1/http/create_test.go#L80
tt.reqBody undefined (type struct{name string; req createRequest; want createResponse; wantErr bool; mockArgs *mockArgs} has no field or method reqBody)
|
|
Lint:
internal/api/dashboards/v1/http/create_test.go#L21
cannot use mockedSvc (variable of type *mock_dashboards.MockService) as service.Service value in argument to profiles.New: *mock_dashboards.MockService does not implement service.Service (missing method DeleteFavoriteQuery)
|
|
Lint:
internal/api/dashboards/v1/http/test_data.go#L17
cannot use s (variable of interface type service.Service) as dashboards.Service value in argument to New: service.Service does not implement dashboards.Service (missing method CreateDashboard)
|
|
Lint:
internal/api/dashboards/v1/grpc/test_data.go#L12
cannot use s (variable of interface type service.Service) as "github.com/ozontech/seq-ui/internal/pkg/service/dashboards".Service value in argument to New: service.Service does not implement "github.com/ozontech/seq-ui/internal/pkg/service/dashboards".Service (missing method CreateDashboard) (typecheck)
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/setup-go@v5, golangci/golangci-lint-action@v8. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
background
wait
wait-all
cancel
parallel
Loading