Adjusted code to account for folders within directory. Now cover image always gets the first image.
This commit is contained in:
parent
7bf04dcdac
commit
6b4617bab3
4 changed files with 16 additions and 7 deletions
|
|
@ -12,7 +12,7 @@ namespace API.Tests.Services
|
|||
[Theory]
|
||||
[InlineData("v10.cbz", "v10.expected.jpg")]
|
||||
[InlineData("v10 - with folder.cbz", "v10 - with folder.expected.jpg")]
|
||||
//[InlineData("v10 - nested folder.cbz", "v10 - nested folder.expected.jpg")]
|
||||
[InlineData("v10 - nested folder.cbz", "v10 - nested folder.expected.jpg")]
|
||||
public void GetCoverImageTest(string inputFile, string expectedOutputFile)
|
||||
{
|
||||
var testDirectory = Path.Join(Directory.GetCurrentDirectory(), "../../../Services/Test Data/ImageProvider");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue