Merge test changes to main #627
Annotations
5 warnings and 10 notices
Inspect code:
tests/backend/WebApi.Tests/Controllers/BloggingControllerTests.cs#L45
"[PossibleMultipleEnumeration] Possible multiple enumeration" on /home/runner/work/test/test/tests/backend/WebApi.Tests/Controllers/BloggingControllerTests.cs(45,21)
|
Inspect code:
tests/backend/WebApi.Tests/Controllers/BloggingControllerTests.cs#L46
"[PossibleMultipleEnumeration] Possible multiple enumeration" on /home/runner/work/test/test/tests/backend/WebApi.Tests/Controllers/BloggingControllerTests.cs(46,21)
|
Inspect code:
tests/backend/WebApi.Tests/Controllers/BloggingControllerTests.cs#L165
"[PossibleMultipleEnumeration] Possible multiple enumeration" on /home/runner/work/test/test/tests/backend/WebApi.Tests/Controllers/BloggingControllerTests.cs(165,21)
|
Inspect code:
tests/backend/WebApi.Tests/Controllers/BloggingControllerTests.cs#L166
"[PossibleMultipleEnumeration] Possible multiple enumeration" on /home/runner/work/test/test/tests/backend/WebApi.Tests/Controllers/BloggingControllerTests.cs(166,21)
|
Inspect code:
src/backend/WebApi/Messaging/RabbitMqHelper.cs#L74
"[UnusedParameter.Local] Parameter 'bc' is never used" on /home/runner/work/test/test/src/backend/WebApi/Messaging/RabbitMqHelper.cs(74,36)
|
Inspect code:
tests/backend/WebApi.Tests/Database/MsSqlContainerTest.cs#L12
"[CA1816] Change MsSqlContainerTest.DisposeAsync() to call GC.SuppressFinalize(object). This will prevent derived types that introduce a finalizer from needing to re-implement 'IDisposable' to call it." on /home/runner/work/test/test/tests/backend/WebApi.Tests/Database/MsSqlContainerTest.cs(12,28)
|
Inspect code:
src/backend/WebApi/Program.cs#L138
"[ClassNeverInstantiated.Global] Class 'Program' is never instantiated" on /home/runner/work/test/test/src/backend/WebApi/Program.cs(138,22)
|
Inspect code:
src/backend/WebApi/Filters/ValidateModelAttribute.cs#L10
"[ClassNeverInstantiated.Global] Class 'ValidateModelAttribute' is never instantiated" on /home/runner/work/test/test/src/backend/WebApi/Filters/ValidateModelAttribute.cs(10,14)
|
Inspect code:
src/backend/WebApi/Middleware/ProduceResponseTypeModelProvider.cs#L35
"[ConvertIfStatementToConditionalTernaryExpression] Convert into method call with '?:' expression inside" on /home/runner/work/test/test/src/backend/WebApi/Middleware/ProduceResponseTypeModelProvider.cs(35,17)
|
Inspect code:
src/backend/WebApi/Messaging/MessageSender.cs#L60
"[ConvertToConstant.Local] Convert into constant" on /home/runner/work/test/test/src/backend/WebApi/Messaging/MessageSender.cs(60,17)
|
Inspect code:
tests/backend/WebApi.Tests/Controllers/BloggingControllerTests.cs#L101
"[ConvertToConstant.Local] Convert into constant" on /home/runner/work/test/test/tests/backend/WebApi.Tests/Controllers/BloggingControllerTests.cs(101,13)
|
Inspect code:
tests/backend/WebApi.Tests/Controllers/BloggingControllerTests.cs#L222
"[ConvertToConstant.Local] Convert into constant" on /home/runner/work/test/test/tests/backend/WebApi.Tests/Controllers/BloggingControllerTests.cs(222,13)
|
Inspect code:
tests/backend/WebApi.Tests/Controllers/SendMessageControllerTests.cs#L37
"[NUnit2010] Use Is.EqualTo constraint instead of direct comparison for better assertion messages in case of failure" on /home/runner/work/test/test/tests/backend/WebApi.Tests/Controllers/SendMessageControllerTests.cs(37,21)
|
Inspect code:
tests/backend/WebApi.Tests/Controllers/ServiceControllerTests.cs#L72
"[NUnit2010] Use Is.EqualTo constraint instead of direct comparison for better assertion messages in case of failure" on /home/runner/work/test/test/tests/backend/WebApi.Tests/Controllers/ServiceControllerTests.cs(72,21)
|
Inspect code:
tests/backend/WebApi.Tests/Controllers/WeatherForecastControllerTests.cs#L43
"[NUnit2045] Call independent Assert statements from inside an Assert.Multiple" on /home/runner/work/test/test/tests/backend/WebApi.Tests/Controllers/WeatherForecastControllerTests.cs(43,9)
|
Loading