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

@@ -40,7 +40,8 @@ public class BookResponseFixture
WrittenContentMetadataDto? metadata = null,
BookFormat? format = null,
MetadataStatus? metadataStatus = null,
DateTime? createdOnUtc = null)
DateTime? createdOnUtc = null,
string? coverPath = null)
{
DateTime resolvedCreatedOnUtc = createdOnUtc ?? _faker.Date.Past().ToUniversalTime();
return new BookResponse(
@@ -70,7 +71,8 @@ public class BookResponseFixture
_faker.Date.Recent().ToUniversalTime(),
_faker.Company.CompanyName(),
resolvedCreatedOnUtc,
_faker.Random.Bool() ? _faker.Date.Recent().ToUniversalTime() : null
_faker.Random.Bool() ? _faker.Date.Recent().ToUniversalTime() : null,
coverPath ?? (_faker.Random.Bool() ? _faker.System.FilePath() : null)
);
}