diff --git a/tests/Passwordless.AspNetCore.Tests/OldTests/PasswordlessServiceTests.cs b/tests/Passwordless.AspNetCore.Tests/OldTests/PasswordlessServiceTests.cs index ef04095..be47d49 100644 --- a/tests/Passwordless.AspNetCore.Tests/OldTests/PasswordlessServiceTests.cs +++ b/tests/Passwordless.AspNetCore.Tests/OldTests/PasswordlessServiceTests.cs @@ -86,7 +86,7 @@ public async Task RegisterUserAsync_Works() var okResult = Assert.IsAssignableFrom>(result); Assert.Equal(expectedResponse, okResult.Value); - Assert.Single(_testUserStore.InnerStore.Where(kvp => kvp.Value.Username == "test_username")); + Assert.Single(_testUserStore.InnerStore, kvp => kvp.Value.Username == "test_username"); } [Fact]