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

@@ -1,6 +1,5 @@
#region ========================================================================= USING =====================================================================================
using Bogus;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
@@ -14,15 +13,17 @@ namespace Lumina.Presentation.Web.Fixtures.Common.Models;
[ExcludeFromCodeCoverage]
public class SectionModelFixture
{
private readonly Faker _faker = new();
/// <summary>
/// Creates a new <see cref="SectionModel"/> instance with randomized test data.
/// </summary>
/// <param name="text">Optional text rendered by the section.</param>
/// <returns>A configured <see cref="SectionModel"/> instance.</returns>
public SectionModel Create(string? text = null)
public SectionModel Create(
string? text = null)
{
Faker faker = new();
return new SectionModel { Text = text ?? faker.Lorem.Word() };
return new SectionModel { Text = text ?? _faker.Lorem.Word() };
}
/// <summary>