1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 07:36:14 -05:00

docs: fixing spelling and docs for GetManyPendingAuthRequest

This commit is contained in:
Ike Kottlowski
2025-06-26 18:00:30 -04:00
parent 093157324e
commit eeeaefe220
2 changed files with 4 additions and 4 deletions

View File

@ -184,7 +184,7 @@ public class AuthRequestRepositoryTests
/// Test to determine that when no valid authRequest exists in the database the return value is null.
/// </summary>
[DatabaseTheory, DatabaseData]
public async Task GetManyPendingAuthRequestByUserId_AuthRequstsInvalid_ReturnsEmptyEnumerable_Success(
public async Task GetManyPendingAuthRequestByUserId_AuthRequestsInvalid_ReturnsEmptyEnumerable_Success(
IAuthRequestRepository authRequestRepository,
IUserRepository userRepository)
{
@ -227,7 +227,7 @@ public class AuthRequestRepositoryTests
Assert.NotNull(result);
Assert.Empty(result);
// Verify that there are authrequest associated with the user.
// Verify that there are authRequests associated with the user.
Assert.NotEmpty(await authRequestRepository.GetManyByUserIdAsync(user.Id));
await CleanupTestAsync(authRequests, authRequestRepository);
@ -269,7 +269,7 @@ public class AuthRequestRepositoryTests
var result = await authRequestRepository.GetManyPendingAuthRequestByUserId(user.Id);
Assert.NotNull(result);
// since we group by device there should only be a sinlge return since the device Id is the same
// since we group by device there should only be a single return since the device Id is the same
Assert.Single(result);
var resultAuthRequest = result.First();
Assert.Equal(oneMinuteOldAuthRequest.Id, resultAuthRequest.Id);