Update SubscribeTests.cs #2
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.
|