Skip to content

Refactor setup of tests for Flotilla #5643

Refactor setup of tests for Flotilla

Refactor setup of tests for Flotilla #5643

Triggered via pull request January 10, 2025 12:52
Status Failure
Total duration 44s
Artifacts

backend_lint_and_test.yml

on: pull_request
build_backend
35s
build_backend
test_backend
32s
test_backend
check_formatting
16s
check_formatting
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 13 warnings
check_formatting
Process completed with exit code 1.
test_backend: backend/api.test/EventHandlers/TestMissionEventHandler.cs#L61
Possible null reference argument for parameter 'config' in 'MqttService.MqttService(ILogger<MqttService> logger, IConfiguration config)'.
test_backend: backend/api.test/EventHandlers/TestMissionEventHandler.cs#L27
Non-nullable field '_factory' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
test_backend: backend/api.test/EventHandlers/TestMissionEventHandler.cs#L28
Non-nullable field '_serviceProvider' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
test_backend: backend/api.test/EventHandlers/TestMissionEventHandler.cs#L29
Non-nullable field '_httpClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
test_backend: backend/api.test/EventHandlers/TestMissionEventHandler.cs#L31
Non-nullable field '_connectionString' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
test_backend: backend/api.test/EventHandlers/TestMissionEventHandler.cs#L32
Non-nullable field '_connection' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
test_backend: backend/api.test/EventHandlers/TestMissionEventHandler.cs#L34
Non-nullable field '_databaseUtilities' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
test_backend: backend/api.test/EventHandlers/TestMissionEventHandler.cs#L35
Non-nullable field '_serializerOptions' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
test_backend: backend/api.test/EventHandlers/TestMissionEventHandler.cs#L37
Non-nullable field '_missionRunService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
test_backend: backend/api.test/EventHandlers/TestMissionEventHandler.cs#L38
Non-nullable field '_robotService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
check_formatting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test_backend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build_backend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build_backend: backend/api.test/EventHandlers/TestMissionEventHandler.cs#L61
Possible null reference argument for parameter 'config' in 'MqttService.MqttService(ILogger<MqttService> logger, IConfiguration config)'.
build_backend: backend/api.test/EventHandlers/TestMissionEventHandler.cs#L27
Non-nullable field '_factory' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build_backend: backend/api.test/EventHandlers/TestMissionEventHandler.cs#L28
Non-nullable field '_serviceProvider' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build_backend: backend/api.test/EventHandlers/TestMissionEventHandler.cs#L29
Non-nullable field '_httpClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build_backend: backend/api.test/EventHandlers/TestMissionEventHandler.cs#L31
Non-nullable field '_connectionString' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build_backend: backend/api.test/EventHandlers/TestMissionEventHandler.cs#L32
Non-nullable field '_connection' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build_backend: backend/api.test/EventHandlers/TestMissionEventHandler.cs#L34
Non-nullable field '_databaseUtilities' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build_backend: backend/api.test/EventHandlers/TestMissionEventHandler.cs#L35
Non-nullable field '_serializerOptions' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build_backend: backend/api.test/EventHandlers/TestMissionEventHandler.cs#L37
Non-nullable field '_missionRunService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build_backend: backend/api.test/EventHandlers/TestMissionEventHandler.cs#L38
Non-nullable field '_robotService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.