test: fix integration tests #412
Annotations
10 warnings
Build:
src/TicketingService.Abstractions/TicketResult.cs#L79
'TicketError' defines 'Equals' but not 'GetHashCode'
|
Build:
src/TicketingService.Abstractions/TicketResult.cs#L84
Dereference of a possibly null reference.
|
Build:
src/TicketingService.Abstractions/TicketResult.cs#L85
Dereference of a possibly null reference.
|
Build:
src/TicketingService.Abstractions/TicketResult.cs#L86
Dereference of a possibly null reference.
|
Build:
src/TicketingService.Abstractions/TicketResult.cs#L86
Dereference of a possibly null reference.
|
Build:
src/TicketingService.Abstractions/TicketResult.cs#L81
Change this condition so that it does not always evaluate to 'False'. Some code paths are unreachable. (https://rules.sonarsource.com/csharp/RSPEC-2583)
|
Build:
src/TicketingService/Program.cs#L40
Possible null reference argument for parameter 'connectionString' in 'IServiceCollection ServiceCollectionExtensions.AddMartenTicketing(IServiceCollection services, string connectionString)'.
|
Build:
src/TicketingService/Endpoints/Handlers.cs#L17
Remove this useless assignment to local variable 'ticketId'. (https://rules.sonarsource.com/csharp/RSPEC-1854)
|
Build:
src/TicketingService/Program.cs#L45
Make sure that this logger's configuration is safe. (https://rules.sonarsource.com/csharp/RSPEC-4792)
|
Build:
src/TicketingService.Monitoring/ConnectionStrings.cs#L8
Non-nullable property 'Ticketing' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|