diff --git a/backend/Testing/LexCore/LexAuthUserTests.cs b/backend/Testing/LexCore/LexAuthUserTests.cs index 9f606543f..8f93b4475 100644 --- a/backend/Testing/LexCore/LexAuthUserTests.cs +++ b/backend/Testing/LexCore/LexAuthUserTests.cs @@ -156,7 +156,7 @@ public void CanRoundTripFromAuthTicketToAuthTicket() actualTicket.Properties.ExpiresUtc.Should().Be(ticket.Properties.ExpiresUtc); //order by is because the order isn't important but the assertion fails if the order is different actualTicket.Properties.Items.OrderBy(kvp => kvp.Key) - .Should().BeEquivalentTo(ticket.Properties.Items.OrderBy(kvp => kvp.Key)); + .Should().Equal(ticket.Properties.Items.OrderBy(kvp => kvp.Key)); var newUser = LexAuthUser.FromClaimsPrincipal(actualTicket.Principal); newUser.Should().BeEquivalentTo(_user); diff --git a/backend/Testing/LexCore/Services/ProjectServiceTest.cs b/backend/Testing/LexCore/Services/ProjectServiceTest.cs index 3befdca34..be573cb3f 100644 --- a/backend/Testing/LexCore/Services/ProjectServiceTest.cs +++ b/backend/Testing/LexCore/Services/ProjectServiceTest.cs @@ -51,7 +51,7 @@ public async Task CanCreateProject() { var projectId = await _projectService.CreateProject( new(null, "TestProject", "Test", "test1", ProjectType.FLEx, RetentionPolicy.Test, false, null, null)); - projectId.Should().NotBe((Guid)default); + projectId.Should().NotBe(Guid.Empty); } [Fact]