We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0f781b commit 7688b29Copy full SHA for 7688b29
test/UnitTest/Services/Html2PdfServiceTest.cs
@@ -21,4 +21,14 @@ public async Task ExportPdf_Error()
21
await Assert.ThrowsAsync<NotImplementedException>(() => pdfService.PdfDataFromHtmlAsync("<h2>Test</h2>"));
22
await Assert.ThrowsAsync<NotImplementedException>(() => pdfService.PdfStreamFromHtmlAsync("<h2>Test</h2>"));
23
}
24
+
25
+ [Fact]
26
+ public void PdfOptions_Ok()
27
+ {
28
+ var options = new PdfOptions
29
30
+ Landscape = true
31
+ };
32
+ Assert.True(options.Landscape);
33
+ }
34
0 commit comments