Skip to content

Implement keyword-based dynamic text replacement #1537

Implement keyword-based dynamic text replacement

Implement keyword-based dynamic text replacement #1537

Triggered via pull request November 28, 2024 15:45
Status Failure
Total duration 3m 39s
Artifacts

build-and-analyze.yml

on: pull_request
Build, test & analyze
3m 29s
Build, test & analyze
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 9 warnings
Build, test & analyze: test/Altinn.Notifications.Tests/Notifications.Core/TestingServices/SmsOrderProcessingServiceTests.cs#L47
An expression tree may not contain a call or invocation that uses optional arguments
Build, test & analyze: test/Altinn.Notifications.Tests/Notifications.Core/TestingServices/SmsOrderProcessingServiceTests.cs#L83
An expression tree may not contain a call or invocation that uses optional arguments
Build, test & analyze: test/Altinn.Notifications.Tests/Notifications.Core/TestingServices/SmsOrderProcessingServiceTests.cs#L91
An expression tree may not contain a call or invocation that uses optional arguments
Build, test & analyze: test/Altinn.Notifications.Tests/Notifications.Core/TestingServices/EmailOrderProcessingServiceTests.cs#L47
An expression tree may not contain a call or invocation that uses optional arguments
Build, test & analyze: test/Altinn.Notifications.Tests/Notifications.Core/TestingServices/EmailOrderProcessingServiceTests.cs#L55
An expression tree may not contain a call or invocation that uses optional arguments
Build, test & analyze: test/Altinn.Notifications.Tests/Notifications.Core/TestingServices/EmailOrderProcessingServiceTests.cs#L79
An expression tree may not contain a call or invocation that uses optional arguments
Build, test & analyze: test/Altinn.Notifications.Tests/Notifications.Core/TestingServices/SmsOrderProcessingServiceTests.cs#L114
An expression tree may not contain a call or invocation that uses optional arguments
Build, test & analyze: test/Altinn.Notifications.Tests/Notifications.Core/TestingServices/EmailOrderProcessingServiceTests.cs#L104
An expression tree may not contain a call or invocation that uses optional arguments
Build, test & analyze: test/Altinn.Notifications.Tests/Notifications.Core/TestingServices/EmailOrderProcessingServiceTests.cs#L116
An expression tree may not contain a call or invocation that uses optional arguments
Build, test & analyze: test/Altinn.Notifications.Tests/Notifications.Core/TestingServices/EmailOrderProcessingServiceTests.cs#L140
An expression tree may not contain a call or invocation that uses optional arguments
Build, test & analyze: src/Altinn.Notifications.Core/Services/SmsNotificationService.cs#L47
Rename parameter 'smsBody' to 'body' to match the interface declaration. (https://rules.sonarsource.com/csharp/RSPEC-927)
Build, test & analyze: src/Altinn.Notifications.Core/Services/KeywordsService.cs#L70
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build, test & analyze: src/Altinn.Notifications/appsettings.json#L11
"pwd" detected here, make sure this is not a hard-coded credential. (https://rules.sonarsource.com/csharp/RSPEC-2068)
Build, test & analyze: src/Altinn.Notifications/appsettings.json#L12
"pwd" detected here, make sure this is not a hard-coded credential. (https://rules.sonarsource.com/csharp/RSPEC-2068)
Build, test & analyze: src/Altinn.Notifications.Core/Services/SmsNotificationService.cs#L47
Rename parameter 'smsBody' to 'body' to match the interface declaration. (https://rules.sonarsource.com/csharp/RSPEC-927)
Build, test & analyze: src/Altinn.Notifications.Core/Services/KeywordsService.cs#L70
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build, test & analyze: src/Altinn.Notifications/appsettings.json#L11
"pwd" detected here, make sure this is not a hard-coded credential. (https://rules.sonarsource.com/csharp/RSPEC-2068)
Build, test & analyze: src/Altinn.Notifications/appsettings.json#L12
"pwd" detected here, make sure this is not a hard-coded credential. (https://rules.sonarsource.com/csharp/RSPEC-2068)
Build, test & analyze
No files were found with the provided path: **/TestResults/*.trx. No artifacts will be uploaded.