Format ./web/backend/Features/Features.UserManagement.Tests

This commit is contained in:
Aaron Po
2026-06-20 15:09:43 -04:00
parent 1875dcc8bf
commit 9ac039dfeb
6 changed files with 25 additions and 23 deletions

View File

@@ -15,9 +15,12 @@ public class GetAllUsersHandlerTests
GetAllUsersHandler handler = new(repoMock.Object);
repoMock.Setup(r => r.GetAllAsync(10, 5)).ReturnsAsync(Array.Empty<UserAccount>());
IEnumerable<UserAccount> result = await handler.Handle(new GetAllUsersQuery(10, 5), CancellationToken.None);
IEnumerable<UserAccount> result = await handler.Handle(
new GetAllUsersQuery(10, 5),
CancellationToken.None
);
result.Should().BeEmpty();
repoMock.Verify(r => r.GetAllAsync(10, 5), Times.Once);
}
}
}