Standardizes test conventions and documentation

This commit is contained in:
BinaryAlley committed 2026-08-24 14:20:08 -07:00
1 parent 7aeed04255
commit f42dc709de
190 files changed
+2180 -2814

No files matched your search

@@ -14,16 +14,18 @@ namespace Lumina.Presentation.Web.Fixtures.Common.Requests.UsersManagement.Authe
[ExcludeFromCodeCoverage]
public class LoginViewRequestFixture
{
private readonly Faker _faker = new();
/// <summary>
/// Creates a new <see cref="LoginViewRequest"/> instance with randomized test data.
/// </summary>
/// <param name="returnUrl">Optional URL to return to, after login.</param>
/// <returns>A configured <see cref="LoginViewRequest"/> instance.</returns>
public LoginViewRequest Create(string? returnUrl = null)
public LoginViewRequest Create(
string? returnUrl = null)
{
Faker faker = new();
return new LoginViewRequest(
ReturnUrl: returnUrl ?? $"/{faker.Random.AlphaNumeric(8)}"
ReturnUrl: returnUrl ?? $"/{_faker.Random.AlphaNumeric(8)}"
);
}