Strip comments and dedupe normalized literals in backend tests

- Remove all // and /// comments from the backend test suite.
- Replace hardcoded normalized-form string literals (e.g. NormalizedTitle/
  NormalizedName duplicating a title/name in upper case) with a variable
  plus .ToUpperInvariant(), so the two values can't drift apart.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-10 02:45:11 +02:00
co-authored by Claude Sonnet 5
parent d02b1f9406
commit 4e28df8907
14 changed files with 29 additions and 110 deletions
@@ -3,11 +3,6 @@ using Musify.Domain.ValueObjects;
namespace Musify.Application.Tests.TestSupport
{
/// <summary>
/// Builds fully-populated domain entities for tests, with sensible defaults for every
/// <c>required</c> member. Every factory always returns a valid instance — never null — so
/// callers never need a null check on what this class hands back.
/// </summary>
public static class TestEntities
{
public static User User(