DB migrations #52
deploy.yml
on: push
Run Tests
34s
Deploy to Staging
0s
Annotations
2 errors and 7 warnings
|
Run Tests
Process completed with exit code 1.
|
|
Run Tests:
tests/Account.UnitTests/Business/UseCases/OpenAccountUseCaseTests.cs#L17
There is no argument given that corresponds to the required parameter 'identity' of 'OpenAccountUseCase.OpenAccountUseCase(ILogger<OpenAccountUseCase>, IBus, UserManager<Investor>, AccountContext)'
|
|
Run Tests:
tests/MarketData.UnitTests/Business/UseCases/GetQuotesUseCaseTests.cs#L99
Possible null reference argument for parameter 'source' in 'ValueTask<List<Quote>> AsyncEnumerable.ToListAsync<Quote>(IAsyncEnumerable<Quote> source, CancellationToken cancellationToken = default(CancellationToken))'.
|
|
Run Tests:
tests/MarketData.UnitTests/Business/UseCases/SearchStocksUseCaseTests.cs#L97
Possible null reference argument for parameter 'source' in 'ValueTask<List<Stock>> AsyncEnumerable.ToListAsync<Stock>(IAsyncEnumerable<Stock> source, CancellationToken cancellationToken = default(CancellationToken))'.
|
|
Run Tests:
tests/MarketData.UnitTests/Business/UseCases/GetQuotesUseCaseTests.cs#L47
Possible null reference argument for parameter 'source' in 'ValueTask<List<Quote>> AsyncEnumerable.ToListAsync<Quote>(IAsyncEnumerable<Quote> source, CancellationToken cancellationToken = default(CancellationToken))'.
|
|
Run Tests:
tests/MarketData.UnitTests/Business/UseCases/SearchStocksUseCaseTests.cs#L48
Possible null reference argument for parameter 'source' in 'ValueTask<List<Stock>> AsyncEnumerable.ToListAsync<Stock>(IAsyncEnumerable<Stock> source, CancellationToken cancellationToken = default(CancellationToken))'.
|
|
Run Tests:
src/Account/Domain/Investor.cs#L15
Remove the unused private setter 'set_Gender'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
|
|
Run Tests:
src/Shared/Extensions/EnumExtensions.cs#L15
Merge this if statement with the enclosing one. (https://rules.sonarsource.com/csharp/RSPEC-1066)
|
|
Run Tests:
src/Shared/Contracts/Account/AccountOpened.cs#L10
Change the type of parameter 'ConfirmationTokenUrlEncoded' of method 'AccountOpened.AccountOpened(string, string, string, string, string, DateTime, string, Guid)' from 'string' to 'System.Uri', or provide an overload to 'AccountOpened.AccountOpened(string, string, string, string, string, DateTime, string, Guid)' that allows 'ConfirmationTokenUrlEncoded' to be passed as a 'System.Uri' object (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054)
|