Skip to content

Commit

Permalink
Address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
myieye committed Nov 22, 2024
1 parent 50e8e46 commit 610826f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/Testing/LexCore/LexAuthUserTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion backend/Testing/LexCore/Services/ProjectServiceTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 610826f

Please sign in to comment.