Skip to content

PRO-1800 - set powertrain from device definition #685

PRO-1800 - set powertrain from device definition

PRO-1800 - set powertrain from device definition #685

Triggered via pull request August 15, 2023 04:38
Status Failure
Total duration 4m 20s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
tests: internal/controllers/device_data_controller_test.go#L65
cannot use deviceDefSvc (variable of type *mock_services.MockDeviceDefinitionService) as type services.DeviceDefinitionService in argument to NewUserDevicesController:
tests: internal/controllers/device_data_controller_test.go#L66
cannot use deviceDefSvc (variable of type *mock_services.MockDeviceDefinitionService) as type services.DeviceDefinitionService in argument to calculateRange:
tests: internal/controllers/device_data_controller_test.go#L147
cannot use mockDeps.deviceDefSvc (variable of type *mock_services.MockDeviceDefinitionService) as type services.DeviceDefinitionService in argument to NewUserDevicesController:
tests: internal/controllers/device_data_controller_test.go#L200
cannot use mockDeps.deviceDefSvc (variable of type *mock_services.MockDeviceDefinitionService) as type services.DeviceDefinitionService in argument to NewUserDevicesController:
tests: internal/controllers/device_data_controller_test.go#L274
cannot use mockDeps.deviceDefSvc (variable of type *mock_services.MockDeviceDefinitionService) as type services.DeviceDefinitionService in argument to NewUserDevicesController:
tests: internal/controllers/device_data_controller_test.go#L347
cannot use mockDeps.deviceDefSvc (variable of type *mock_services.MockDeviceDefinitionService) as type services.DeviceDefinitionService in argument to NewUserDevicesController:
tests: internal/controllers/device_data_controller_test.go#L416
cannot use mockDeps.deviceDefSvc (variable of type *mock_services.MockDeviceDefinitionService) as type services.DeviceDefinitionService in argument to NewUserDevicesController:
tests: internal/controllers/device_data_controller_test.go#L485
cannot use mockDeps.deviceDefSvc (variable of type *mock_services.MockDeviceDefinitionService) as type services.DeviceDefinitionService in argument to NewUserDevicesController:
tests: internal/controllers/device_data_controller_test.go#L570
cannot use mockDeps.deviceDefSvc (variable of type *mock_services.MockDeviceDefinitionService) as type services.DeviceDefinitionService in argument to NewUserDevicesController:
tests: internal/controllers/device_data_controller_test.go#L646
cannot use mockDeps.deviceDefSvc (variable of type *mock_services.MockDeviceDefinitionService) as type services.DeviceDefinitionService in argument to NewUserDevicesController:
tests
Restore cache failed: Dependencies file is not found in /home/runner/work/devices-api/devices-api. Supported file pattern: go.sum