AS-3208 - error codes endpoints with tokenID #1540
Annotations
11 errors and 1 warning
tests:
internal/controllers/user_devices_controller_test.go#L566
user_devices_controller_test.go:566:
Error Trace: /runner/_work/devices-api/devices-api/internal/controllers/user_devices_controller_test.go:566
Error: Not equal:
expected: 404
actual : 500
Test: TestUserDevicesControllerTestSuite/TestPostInvalidDefinitionID
message:
|
tests:
internal/controllers/user_devices_controller_test.go#L195
user_devices_controller_test.go:195:
Error Trace: /runner/_work/devices-api/devices-api/internal/controllers/user_devices_controller_test.go:195
Error: Received unexpected error:
runtime.Goexit() called in handler or server panic
Test: TestUserDevicesControllerTestSuite/TestPostUserDeviceFromSmartcar
---
|
tests:
internal/controllers/user_devices_controller_test.go#L342
user_devices_controller_test.go:342:
Error Trace: /runner/_work/devices-api/devices-api/internal/controllers/user_devices_controller_test.go:342
Error: Received unexpected error:
runtime.Goexit() called in handler or server panic
Test: TestUserDevicesControllerTestSuite/TestPostUserDeviceFromVIN
---
|
tests:
internal/controllers/user_devices_controller_test.go#L509
user_devices_controller_test.go:509:
Error Trace: /runner/_work/devices-api/devices-api/internal/controllers/user_devices_controller_test.go:509
Error: Not equal:
expected: 201
actual : 500
Test: TestUserDevicesControllerTestSuite/TestPostWithExistingDeviceDefinitionID
message:
|
tests:
internal/controllers/user_devices_controller_test.go#L516
user_devices_controller_test.go:516:
Error Trace: /runner/_work/devices-api/devices-api/internal/controllers/user_devices_controller_test.go:516
Error: "" should have 27 item(s), but has 0
Test: TestUserDevicesControllerTestSuite/TestPostWithExistingDeviceDefinitionID
|
tests:
internal/controllers/user_devices_controller_test.go#L517
user_devices_controller_test.go:517:
Error Trace: /runner/_work/devices-api/devices-api/internal/controllers/user_devices_controller_test.go:517
Error: "" should have 27 item(s), but has 0
Test: TestUserDevicesControllerTestSuite/TestPostWithExistingDeviceDefinitionID
|
tests:
internal/controllers/user_devices_controller_test.go#L518
user_devices_controller_test.go:518:
Error Trace: /runner/_work/devices-api/devices-api/internal/controllers/user_devices_controller_test.go:518
Error: Not equal:
expected: "ford_f150_2020"
actual : ""
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-ford_f150_2020
+
Test: TestUserDevicesControllerTestSuite/TestPostWithExistingDeviceDefinitionID
---
|
tests:
internal/controllers/user_devices_controller_test.go#L537
user_devices_controller_test.go:537:
Error Trace: /runner/_work/devices-api/devices-api/internal/controllers/user_devices_controller_test.go:537
Error: Not equal:
expected: "deviceDefinitionId: cannot be blank."
actual : "definitionId is required"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-deviceDefinitionId: cannot be blank.
+definitionId is required
Test: TestUserDevicesControllerTestSuite/TestPostWithoutDefinitionID_BadRequest
{"code":400,"message":"definitionId
|
tests:
internal/controllers/user_integrations_controller_test.go#L598
user_integrations_controller_test.go:598:
Error Trace: /runner/_work/devices-api/devices-api/internal/controllers/user_integrations_controller_test.go:598
Error: Received unexpected error:
runtime.Goexit() called in handler or server panic
Test: TestUserIntegrationsControllerTestSuite/TestPostAutoPiBlockedForDuplicateDeviceDifferentUser
---
|
tests:
internal/controllers/user_integrations_controller_test.go#L561
user_integrations_controller_test.go:561:
Error Trace: /runner/_work/devices-api/devices-api/internal/controllers/user_integrations_controller_test.go:561
Error: Received unexpected error:
runtime.Goexit() called in handler or server panic
Test: TestUserIntegrationsControllerTestSuite/TestPostAutoPiBlockedForDuplicateDeviceSameUser
---
|
tests
Process completed with exit code 1.
|
tests
Restore cache failed: Dependencies file is not found in /runner/_work/devices-api/devices-api. Supported file pattern: go.sum
|