Enable scope validation in api tests #2705
test-and-analyze.yml
on: pull_request
Static code analysis
7m 32s
Annotations
10 warnings
Static code analysis:
src/Altinn.App.Core/Models/UserAction/UserActionContext.cs#L53
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
Static code analysis:
src/Altinn.App.Core/Models/UserAction/UserActionContext.cs#L43
Do not forget to remove this deprecated code someday. (https://rules.sonarsource.com/csharp/RSPEC-1133)
|
Static code analysis:
src/Altinn.App.Core/Internal/Data/InstanceDataUnitOfWork.cs#L590
'System.Exception' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112)
|
Static code analysis:
src/Altinn.App.Core/Internal/Data/InstanceDataUnitOfWork.cs#L597
'System.Exception' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112)
|
Static code analysis:
src/Altinn.App.Core/Internal/Data/InstanceDataUnitOfWork.cs#L608
'System.Exception' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112)
|
Static code analysis:
src/Altinn.App.Core/Internal/Data/InstanceDataUnitOfWork.cs#L612
'System.Exception' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112)
|
Static code analysis:
src/Altinn.App.Api/Controllers/InstancesController.cs#L1150
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
Static code analysis:
src/Altinn.App.Api/Controllers/ActionsController.cs#L244
'System.Exception' should not be thrown by user code. (https://rules.sonarsource.com/csharp/RSPEC-112)
|
Static code analysis:
src/Altinn.App.Api/Controllers/ActionsController.cs#L78
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
|
Static code analysis:
src/Altinn.App.Api/Controllers/AuthorizationController.cs#L108
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
|