From c1418a43a83acc04a3087ec05253c023e1740553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Pilgaard=20Gr=C3=B8ndahl?= Date: Sat, 10 Aug 2024 23:42:39 +0200 Subject: [PATCH] fix tests now that there are 2 pilgaards in the database --- tests/web/Jordnaer.Tests/UserSearch/UserSearchServiceTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/web/Jordnaer.Tests/UserSearch/UserSearchServiceTests.cs b/tests/web/Jordnaer.Tests/UserSearch/UserSearchServiceTests.cs index 4d75a08d..86803e52 100644 --- a/tests/web/Jordnaer.Tests/UserSearch/UserSearchServiceTests.cs +++ b/tests/web/Jordnaer.Tests/UserSearch/UserSearchServiceTests.cs @@ -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())); }