mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-31 14:33:50 -04:00
Comment this code out, this is about to be refactored in next branch.
This commit is contained in:
parent
21f6889b99
commit
cd67f1ed58
@ -5,16 +5,16 @@ namespace API.Tests.Services
|
|||||||
{
|
{
|
||||||
public class ImageProviderTest
|
public class ImageProviderTest
|
||||||
{
|
{
|
||||||
[Theory]
|
// [Theory]
|
||||||
[InlineData("v10.cbz", "v10.expected.jpg")]
|
// [InlineData("v10.cbz", "v10.expected.jpg")]
|
||||||
[InlineData("v10 - with folder.cbz", "v10 - with folder.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)
|
// public void GetCoverImageTest(string inputFile, string expectedOutputFile)
|
||||||
{
|
// {
|
||||||
var testDirectory = Path.Join(Directory.GetCurrentDirectory(), "../../../Services/Test Data/ImageProvider");
|
// var testDirectory = Path.Join(Directory.GetCurrentDirectory(), "../../../Services/Test Data/ImageProvider");
|
||||||
var expectedBytes = File.ReadAllBytes(Path.Join(testDirectory, expectedOutputFile));
|
// var expectedBytes = File.ReadAllBytes(Path.Join(testDirectory, expectedOutputFile));
|
||||||
// TODO: Implement this with ScannerService
|
// // TODO: Implement this with ScannerService
|
||||||
//Assert.Equal(expectedBytes, ImageProvider.GetCoverImage(Path.Join(testDirectory, inputFile)));
|
// //Assert.Equal(expectedBytes, ImageProvider.GetCoverImage(Path.Join(testDirectory, inputFile)));
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user