Skip to content

Commit

Permalink
fix tests now that there are 2 pilgaards in the database
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsPilgaard committed Aug 10, 2024
1 parent dc3421d commit c1418a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public async Task Return_UserSearchResult_With_Category_Filter()
var result = await _sut.GetUsersAsync(filter);

// Assert
result.TotalCount.Should().Be(1);
result.TotalCount.Should().BeGreaterThanOrEqualTo(1);
result.Users.Should().ContainSingle(u => u.Categories.Contains(filter.Categories.First()));
}

Expand Down

0 comments on commit c1418a4

Please sign in to comment.