Merge branch 'refactor/standardize-test-fixtures-and-docs' into feature/add-artwork-provider-and-metadata-aggregation

This commit is contained in:
BinaryAlley committed 2026-08-24 22:56:22 -07:00
commit 4ff184d8a5
388 files changed
+13829 -2814

No files matched your search

@@ -1,5 +1,4 @@
#region ========================================================================= USING =====================================================================================
using Lumina.Contracts.DTO.Common;
using Lumina.Contracts.DTO.MediaContributors;
using Lumina.Contracts.DTO.MediaLibrary.WrittenContentLibrary;
using Lumina.Contracts.DTO.MediaLibrary.WrittenContentLibrary.BookLibrary;
@@ -84,7 +83,7 @@ public class AddBookRequestTests
AddBookRequest sut = _addBookRequestFixture.Create();
// Act
(Guid libraryId, string path, WrittenContentMetadataDto? metadata, BookFormat? format, string? edition, int? volumeNumber, BookSeriesDto? series, string? asin, string? goodreadsId, string? lccn, string? oclcNumber, string? openLibraryId, string? libraryThingId, string? googleBooksId, string? barnesAndNobleId, string? appleBooksId, List<IsbnDto>? isbns, List<MediaContributorDto>? contributors, List<BookRatingDto>? ratings) = sut;
(Guid libraryId, string path, WrittenContentMetadataDto? metadata, BookFormat? format, string? edition, float? volumeNumber, BookSeriesDto? series, string? asin, string? goodreadsId, string? lccn, string? oclcNumber, string? openLibraryId, string? libraryThingId, string? googleBooksId, string? barnesAndNobleId, string? appleBooksId, List<IsbnDto>? isbns, List<MediaContributorDto>? contributors, List<BookRatingDto>? ratings) = sut;
// Assert
Assert.Equal(sut.LibraryId, libraryId);
@@ -72,7 +72,7 @@ public class GetBooksLiteRequestTests
GetBooksLiteRequest sut = _getBooksLiteRequestFixture.Create();
// Act
(Guid libraryId, int? currentPage, int? perPage, string? searchTerm, string? filterAlphaKey, bool ignoreThePrefixForAlphaPicker, string? sortBy, SortOrder? sortOrder) = sut;
(Guid libraryId, int? currentPage, int? perPage, string? searchTerm, string? filterAlphaKey, bool shouldIgnoreThePrefixForAlphaPicker, string? sortBy, SortOrder? sortOrder) = sut;
// Assert
Assert.Equal(sut.LibraryId, libraryId);
@@ -80,7 +80,7 @@ public class GetBooksLiteRequestTests
Assert.Equal(sut.PerPage, perPage);
Assert.Equal(sut.SearchTerm, searchTerm);
Assert.Equal(sut.FilterAlphaKey, filterAlphaKey);
Assert.Equal(sut.IgnoreThePrefixForAlphaPicker, ignoreThePrefixForAlphaPicker);
Assert.Equal(sut.ShouldIgnoreThePrefixForAlphaPicker, shouldIgnoreThePrefixForAlphaPicker);
Assert.Equal(sut.SortBy, sortBy);
Assert.Equal(sut.SortOrder, sortOrder);
}