Skip to content

Update dependency Moq to 4.20.72 #1877

Update dependency Moq to 4.20.72

Update dependency Moq to 4.20.72 #1877

Triggered via pull request November 19, 2024 10:14
Status Failure
Total duration 7m 29s
Artifacts

test-application.yml

on: pull_request
Test application
3m 17s
Test application
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
Test application
Process completed with exit code 1.
Test application: src/Altinn.Correspondence.Core/Models/Entities/Party.cs#L28
Non-nullable property 'OrgNumber' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test application: src/Altinn.Correspondence.Core/Models/Entities/Party.cs#L33
Non-nullable property 'SSN' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test application: src/Altinn.Correspondence.Core/Models/Entities/Party.cs#L38
Non-nullable property 'UnitType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test application: src/Altinn.Correspondence.Core/Models/Entities/Party.cs#L43
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test application: src/Altinn.Correspondence.Core/Models/Entities/Party.cs#L58
Non-nullable property 'ChildParties' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test application: src/Altinn.Correspondence.Core/Models/Entities/AttachmentEntity.cs#L19
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Test application: src/Altinn.Correspondence.Core/Services/Mappers/DialogportenText.cs#L31
The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value. For example, the pattern '(Altinn.Correspondence.Core.Dialogporten.Mappers.DialogportenTextType)7' is not covered.
Test application: src/Altinn.Correspondence.Core/Services/Mappers/DialogportenText.cs#L41
The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value. For example, the pattern '(Altinn.Correspondence.Core.Dialogporten.Mappers.DialogportenTextType)7' is not covered.
Test application: src/Altinn.Correspondence.Core/Services/Mappers/DialogportenText.cs#L51
The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value. For example, the pattern '(Altinn.Correspondence.Core.Dialogporten.Mappers.DialogportenTextType)7' is not covered.
Test application: src/Altinn.Correspondence.Persistence/Repositories/AttachmentRepository.cs#L62
Nullability of reference types in return type of 'Task<List<AttachmentEntity?>> AttachmentRepository.GetAttachmentsByCorrespondence(Guid correspondenceId, CancellationToken cancellationToken)' doesn't match implicitly implemented member 'Task<List<AttachmentEntity>> IAttachmentRepository.GetAttachmentsByCorrespondence(Guid correspondenceId, CancellationToken cancellationToken)'.