Skip to content

Update SubscribeTests.cs #2

Update SubscribeTests.cs

Update SubscribeTests.cs #2

Triggered via push July 24, 2024 15:12
Status Failure
Total duration 51s
Billable time 1m
Artifacts

unittests8x.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
build
Process completed with exit code 1.
build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: AutomatedTesting/ContractConnectionTests/SubscribeTests.cs#L31
Argument of type 'Task<IServiceSubscription>' cannot be used for parameter 'value' of type 'Task<IServiceSubscription?>' in 'IReturnsResult<IMessageServiceConnection> IReturns<IMessageServiceConnection, Task<IServiceSubscription?>>.Returns(Task<IServiceSubscription?> value)' due to differences in the nullability of reference types.
build: AutomatedTesting/ContractConnectionTests/SubscribeTests.cs#L104
Argument of type 'Task<IServiceSubscription>' cannot be used for parameter 'value' of type 'Task<IServiceSubscription?>' in 'IReturnsResult<IMessageServiceConnection> IReturns<IMessageServiceConnection, Task<IServiceSubscription?>>.Returns(Task<IServiceSubscription?> value)' due to differences in the nullability of reference types.
build: AutomatedTesting/ContractConnectionTests/SubscribeTests.cs#L140
Argument of type 'Task<IServiceSubscription>' cannot be used for parameter 'value' of type 'Task<IServiceSubscription?>' in 'IReturnsResult<IMessageServiceConnection> IReturns<IMessageServiceConnection, Task<IServiceSubscription?>>.Returns(Task<IServiceSubscription?> value)' due to differences in the nullability of reference types.
build: AutomatedTesting/ContractConnectionTests/SubscribeTests.cs#L176
Argument of type 'Task<IServiceSubscription>' cannot be used for parameter 'value' of type 'Task<IServiceSubscription?>' in 'IReturnsResult<IMessageServiceConnection> IReturns<IMessageServiceConnection, Task<IServiceSubscription?>>.Returns(Task<IServiceSubscription?> value)' due to differences in the nullability of reference types.
build: AutomatedTesting/ContractConnectionTests/SubscribeTests.cs#L207
Argument of type 'Task<IServiceSubscription>' cannot be used for parameter 'value' of type 'Task<IServiceSubscription?>' in 'IReturnsResult<IMessageServiceConnection> IReturns<IMessageServiceConnection, Task<IServiceSubscription?>>.Returns(Task<IServiceSubscription?> value)' due to differences in the nullability of reference types.
build: AutomatedTesting/ContractConnectionTests/SubscribeTests.cs#L267
Argument of type 'Task<IServiceSubscription>' cannot be used for parameter 'value' of type 'Task<IServiceSubscription?>' in 'IReturnsResult<IMessageServiceConnection> IReturns<IMessageServiceConnection, Task<IServiceSubscription?>>.Returns(Task<IServiceSubscription?> value)' due to differences in the nullability of reference types.
build: AutomatedTesting/ContractConnectionTests/SubscribeTests.cs#L304
Argument of type 'Task<IServiceSubscription>' cannot be used for parameter 'value' of type 'Task<IServiceSubscription?>' in 'IReturnsResult<IMessageServiceConnection> IReturns<IMessageServiceConnection, Task<IServiceSubscription?>>.Returns(Task<IServiceSubscription?> value)' due to differences in the nullability of reference types.
build: AutomatedTesting/ContractConnectionTests/SubscribeTests.cs#L388
Argument of type 'Task<IServiceSubscription>' cannot be used for parameter 'value' of type 'Task<IServiceSubscription?>' in 'IReturnsResult<IMessageServiceConnection> IReturns<IMessageServiceConnection, Task<IServiceSubscription?>>.Returns(Task<IServiceSubscription?> value)' due to differences in the nullability of reference types.
build: AutomatedTesting/ContractConnectionTests/SubscribeTests.cs#L457
Argument of type 'Task<IServiceSubscription>' cannot be used for parameter 'value' of type 'Task<IServiceSubscription?>' in 'IReturnsResult<IMessageServiceConnection> IReturns<IMessageServiceConnection, Task<IServiceSubscription?>>.Returns(Task<IServiceSubscription?> value)' due to differences in the nullability of reference types.
build: AutomatedTesting/ContractConnectionTests/SubscribeTests.cs#L524
Argument of type 'Task<IServiceSubscription>' cannot be used for parameter 'value' of type 'Task<IServiceSubscription?>' in 'IReturnsResult<IMessageServiceConnection> IReturns<IMessageServiceConnection, Task<IServiceSubscription?>>.Returns(Task<IServiceSubscription?> value)' due to differences in the nullability of reference types.