test: standardize unit tests across all services (31 tests) #168
Annotations
21 warnings
|
build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
|
|
build:
Unicorn.Contracts/ContractsService.Test/TestHelpers.cs#L38
Converting null literal or possible null value to non-nullable type.
|
|
build:
Unicorn.Contracts/ContractsService.Test/TestHelpers.cs#L31
Possible null reference return.
|
|
build:
Unicorn.Contracts/ContractsService.Test/TestHelpers.cs#L21
Converting null literal or possible null value to non-nullable type.
|
|
build:
Unicorn.Contracts/ContractsService.Test/ContractEventHandlerTest.cs#L262
The type name 'address' only contains lower-cased ascii characters. Such names may become reserved for the language.
|
|
build:
Unicorn.Approvals/ApprovalsService.Tests/PropertiesApprovalSyncFunctionTest.cs#L161
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
|
|
build:
Unicorn.Approvals/ApprovalsService.Tests/WaitForContractApprovalFunctionTest.cs#L80
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
|
build:
Unicorn.Contracts/ContractsService/ContractEventHandler.cs#L149
Dereference of a possibly null reference.
|
|
build:
Unicorn.Contracts/ContractsService/ContractEventHandler.cs#L118
Dereference of a possibly null reference.
|
|
build:
Unicorn.Web/PublicationManagerService/RequestApprovalFunction.cs#L111
Dereference of a possibly null reference.
|
|
build:
Unicorn.Approvals/ApprovalsService/PropertiesApprovalSyncFunction.cs#L79
Dereference of a possibly null reference.
|
|
build:
Unicorn.Approvals/ApprovalsService.Tests/PropertiesApprovalSyncFunctionTest.cs#L161
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
|
|
build:
Unicorn.Contracts/ContractsService.Test/TestHelpers.cs#L46
Possible null reference return.
|
|
build:
Unicorn.Contracts/ContractsService.Test/TestHelpers.cs#L38
Converting null literal or possible null value to non-nullable type.
|
|
build:
Unicorn.Contracts/ContractsService.Test/TestHelpers.cs#L31
Possible null reference return.
|
|
build:
Unicorn.Contracts/ContractsService.Test/TestHelpers.cs#L21
Converting null literal or possible null value to non-nullable type.
|
|
build:
Unicorn.Contracts/ContractsService.Test/ContractEventHandlerTest.cs#L262
The type name 'address' only contains lower-cased ascii characters. Such names may become reserved for the language.
|
|
build:
Unicorn.Web/PublicationManagerService/RequestApprovalFunction.cs#L111
Dereference of a possibly null reference.
|
|
build:
Unicorn.Approvals/ApprovalsService/PropertiesApprovalSyncFunction.cs#L79
Dereference of a possibly null reference.
|
|
build:
Unicorn.Contracts/ContractsService/ContractEventHandler.cs#L149
Dereference of a possibly null reference.
|
|
build:
Unicorn.Contracts/ContractsService/ContractEventHandler.cs#L118
Dereference of a possibly null reference.
|