Skip to content

Add an endpoint to synchronize the KKR database with updates from the change log #440

Add an endpoint to synchronize the KKR database with updates from the change log

Add an endpoint to synchronize the KKR database with updates from the change log #440

Triggered via pull request October 17, 2024 11:43
Status Failure
Total duration 2m 31s
Artifacts

codeql-analysis.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
Analyze (csharp): test/Altinn.Profile.Tests/Profile.Integrations/PersonContactPreferencesProfileTests.cs#L34
The type or namespace name 'PersonContactPreferences' could not be found (are you missing a using directive or an assembly reference?)
Analyze (csharp): test/Altinn.Profile.Tests/Profile.Integrations/PersonContactPreferencesProfileTests.cs#L51
The type or namespace name 'PersonContactPreferences' could not be found (are you missing a using directive or an assembly reference?)
Analyze (csharp): test/Altinn.Profile.Tests/Profile.Integrations/PersonContactPreferencesProfileTests.cs#L68
The type or namespace name 'PersonContactPreferences' could not be found (are you missing a using directive or an assembly reference?)
Analyze (csharp): test/Altinn.Profile.Tests/Profile.Integrations/PersonContactPreferencesProfileTests.cs#L84
The type or namespace name 'PersonContactPreferences' could not be found (are you missing a using directive or an assembly reference?)
Analyze (csharp): test/Altinn.Profile.Tests/Profile.Integrations/PersonContactPreferencesProfileTests.cs#L97
The type or namespace name 'PersonContactPreferences' could not be found (are you missing a using directive or an assembly reference?)
Analyze (csharp): test/Altinn.Profile.Tests/Profile.Integrations/PersonContactPreferencesProfileTests.cs#L117
The type or namespace name 'PersonContactPreferences' could not be found (are you missing a using directive or an assembly reference?)
Analyze (csharp): test/Altinn.Profile.Tests/Profile.Integrations/Person/PersonRepositoryTests.cs#L33
There is no argument given that corresponds to the required parameter 'contextFactory' of 'PersonRepository.PersonRepository(IMapper, IDbContextFactory<ProfileDbContext>)'
Analyze (csharp): test/Altinn.Profile.Tests/Profile.Integrations/Person/PersonRepositoryTests.cs#L54
'Result<ImmutableList<Person>, bool>' does not contain a definition for 'FirstOrDefault' and no accessible extension method 'FirstOrDefault' accepting a first argument of type 'Result<ImmutableList<Person>, bool>' could be found (are you missing a using directive or an assembly reference?)
Analyze (csharp): test/Altinn.Profile.Tests/Profile.Integrations/PersonContactDetailsRetrieverTests.cs#L79
The type or namespace name 'PersonContactPreferences' could not be found (are you missing a using directive or an assembly reference?)
Analyze (csharp): test/Altinn.Profile.Tests/Profile.Integrations/Person/PersonRepositoryTests.cs#L71
Argument 2: cannot convert from 'method group' to 'int'
Analyze (csharp): test/Altinn.Profile.Tests/Profile.Integrations/Person/PersonServiceTests.cs#L29
Non-nullable field '_personService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Analyze (csharp): test/Altinn.Profile.Tests/Profile.Integrations/Person/PersonServiceTests.cs#L27
Field 'PersonServiceTests._personService' is never assigned to, and will always have its default value null
Analyze (csharp): test/Altinn.Profile.Tests/Profile.Integrations/Person/PersonServiceTests.cs#L29
Non-nullable field '_personService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Analyze (csharp): test/Altinn.Profile.Tests/Profile.Integrations/Person/PersonServiceTests.cs#L27
Field 'PersonServiceTests._personService' is never assigned to, and will always have its default value null