diff options
| author | Michael Williamson <mike@zwobble.org> | 2024-06-10 16:14:45 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2024-06-10 16:36:09 +0100 |
| commit | a1cb7b24ff9e8a0e41b7a5fa6d2fbc3c32c20bbe (patch) | |
| tree | 1bd90a66d8cc0cf2c6943015da0b31adfdba50ac /Mammoth.Tests/DocumentConverterTests.cs | |
| parent | 14ac28c468ca81b645cabf21552748a46f7b21e2 (diff) | |
Update project files
Diffstat (limited to 'Mammoth.Tests/DocumentConverterTests.cs')
| -rw-r--r-- | Mammoth.Tests/DocumentConverterTests.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Mammoth.Tests/DocumentConverterTests.cs b/Mammoth.Tests/DocumentConverterTests.cs index 5469e08..c61ac04 100644 --- a/Mammoth.Tests/DocumentConverterTests.cs +++ b/Mammoth.Tests/DocumentConverterTests.cs @@ -98,7 +98,7 @@ namespace Mammoth.Tests { Directory.Delete(tempDirectory, recursive: true); } } - + [Fact] public void ImageConversionCanBeCustomised() { AssertSuccessfulConversion( @@ -106,7 +106,7 @@ namespace Mammoth.Tests { "<p><img src=\"iV,image/png\" /></p>" ); } - + private IDictionary<string, string> ConvertImage(IImage image) { using (var stream = image.GetStream()) { var base64 = StreamToBase64(stream); @@ -114,7 +114,7 @@ namespace Mammoth.Tests { return new Dictionary<string, string> { { "src", src } }; } } - + private static string StreamToBase64(System.IO.Stream stream) { var memoryStream = new System.IO.MemoryStream(); stream.CopyTo(memoryStream); @@ -269,7 +269,7 @@ namespace Mammoth.Tests { } private string TestFilePath(string name) { - return Path.Combine("../../TestData", name); + return Path.Combine("../../../TestData", name); } } } |
