PRO-1800 - set powertrain from device definition #685
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
|