Skip to content

Commit

Permalink
fix legacy tests (#485)
Browse files Browse the repository at this point in the history
Co-authored-by: Hammerbeck <[email protected]>
  • Loading branch information
Andreass2 and Hammerbeck authored Nov 13, 2024
1 parent 2cae593 commit 6b31d16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Test/Altinn.Correspondence.Tests/LegacyControllerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public async Task LegacyGetCorrespondenceHistory_WithCorrespondenceActions_Inclu
Assert.NotNull(content);
Assert.Equal(content.NeedsConfirm, payload.Correspondence.IsConfirmationNeeded);
Assert.All(content.History, status => Assert.True(status.User.AuthenticationLevel > 0));
Assert.Contains(content.History, status => status.User.PartyId == _digdirPartyId.ToString());
Assert.Contains(content.History, status => status.User.PartyId == _digdirPartyId);
Assert.Contains(content.History, status => status.Status.Contains(CorrespondenceStatus.Published.ToString()));
Assert.Contains(content.History, status => status.Status.Contains(CorrespondenceStatus.Fetched.ToString()));
Assert.Contains(content.History, status => status.Status.Contains(CorrespondenceStatus.Confirmed.ToString()));
Expand Down

0 comments on commit 6b31d16

Please sign in to comment.