Skip to content

Prepare for nullability of UserId in Profile API - user contact point lookups #1491

Prepare for nullability of UserId in Profile API - user contact point lookups

Prepare for nullability of UserId in Profile API - user contact point lookups #1491

Triggered via pull request November 13, 2024 16:17
Status Success
Total duration 7m 16s
Artifacts 1

build-and-analyze.yml

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

Annotations

10 warnings
Build, test & analyze: src/Altinn.Notifications.Integrations/Profile/Mappers/UserContactPointsDTOMapperExtension.cs#L9
Rename class 'UserContactPointsDTOMapperExtension' to match pascal case naming rules, consider using 'UserContactPointsDtoMapperExtension'. (https://rules.sonarsource.com/csharp/RSPEC-101)
Build, test & analyze: src/Altinn.Notifications.Integrations/Profile/Models/UserContactPointsDTO.cs#L6
Rename class 'UserContactPointsDTO' to match pascal case naming rules, consider using 'UserContactPointsDto'. (https://rules.sonarsource.com/csharp/RSPEC-101)
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: test/Altinn.Notifications.IntegrationTests/Notifications.Persistence/SmsNotificationRepositoryTests.cs#L86
Do not use Assert.NotEmpty to check if a value exists in a collection. Use Assert.Contains instead. (https://xunit.net/xunit.analyzers/rules/xUnit2030)
Build, test & analyze: test/Altinn.Notifications.IntegrationTests/Notifications.Persistence/EmailNotificationRepositoryTests.cs#L87
Do not use Assert.NotEmpty to check if a value exists in a collection. Use Assert.Contains instead. (https://xunit.net/xunit.analyzers/rules/xUnit2030)
Build, test & analyze: src/Altinn.Notifications.Integrations/Profile/Mappers/UserContactPointsDTOMapperExtension.cs#L9
Rename class 'UserContactPointsDTOMapperExtension' to match pascal case naming rules, consider using 'UserContactPointsDtoMapperExtension'. (https://rules.sonarsource.com/csharp/RSPEC-101)
Build, test & analyze: src/Altinn.Notifications.Integrations/Profile/Models/UserContactPointsDTO.cs#L6
Rename class 'UserContactPointsDTO' to match pascal case naming rules, consider using 'UserContactPointsDto'. (https://rules.sonarsource.com/csharp/RSPEC-101)
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)

Artifacts

Produced during runtime
Name Size
TestResults
173 KB