Refactored GetCoverImage to a static class and unit tested it. Enhanced the method by defaulting to folder.jpg file if exists, else takes first entry.
This commit is contained in:
parent
451d459473
commit
7f5a1d0518
12 changed files with 92 additions and 27 deletions
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 385 KiB |
BIN
API.Tests/Services/Test Data/ImageProvider/v10 - with folder.cbz
Normal file
BIN
API.Tests/Services/Test Data/ImageProvider/v10 - with folder.cbz
Normal file
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 344 KiB |
BIN
API.Tests/Services/Test Data/ImageProvider/v10.cbz
Normal file
BIN
API.Tests/Services/Test Data/ImageProvider/v10.cbz
Normal file
Binary file not shown.
BIN
API.Tests/Services/Test Data/ImageProvider/v10.expected.jpg
Normal file
BIN
API.Tests/Services/Test Data/ImageProvider/v10.expected.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 385 KiB |
Loading…
Add table
Add a link
Reference in a new issue