Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

Comment this code out, this is about to be refactored in next branch.

Joseph Milazzocd67f1ed5812
diff --git a/API.Tests/Services/ImageProviderTest.cs b/API.Tests/Services/ImageProviderTest.cs
index adfd7acd5..5636d39a4 100644
--- a/API.Tests/Services/ImageProviderTest.cs
+++ b/API.Tests/Services/ImageProviderTest.cs
@@ -5,16 +5,16 @@ namespace API.Tests.Services
{
public class ImageProviderTest
{
- [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")]
- public void GetCoverImageTest(string inputFile, string expectedOutputFile)
- {
- var testDirectory = Path.Join(Directory.GetCurrentDirectory(), "../../../Services/Test Data/ImageProvider");
- var expectedBytes = File.ReadAllBytes(Path.Join(testDirectory, expectedOutputFile));
- // TODO: Implement this with ScannerService
- //Assert.Equal(expectedBytes, ImageProvider.GetCoverImage(Path.Join(testDirectory, inputFile)));
- }
+ // [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")]
+ // public void GetCoverImageTest(string inputFile, string expectedOutputFile)
+ // {
+ // var testDirectory = Path.Join(Directory.GetCurrentDirectory(), "../../../Services/Test Data/ImageProvider");
+ // var expectedBytes = File.ReadAllBytes(Path.Join(testDirectory, expectedOutputFile));
+ // // TODO: Implement this with ScannerService
+ // //Assert.Equal(expectedBytes, ImageProvider.GetCoverImage(Path.Join(testDirectory, inputFile)));
+ // }
}
}
\ No newline at end of file