Skip to content

Commit 77dad9c

Browse files
author
Gonzalo Gallotti Vazquez
committed
[FIX] PDFTests in docker container
1 parent ea24e8e commit 77dad9c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dotnet/test/DotNetPdfTest/PDFTests.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ public class PDFTests
1111
public void TestITextFormat()
1212
{
1313
string report = "PDFFormat.pdf";
14-
string outputFileDirectory = @".\temp\";
14+
string outputFileDirectory = "temp";
1515

1616
string reportFullPath = Path.Combine(Directory.GetCurrentDirectory(), outputFileDirectory, report);
17+
Directory.CreateDirectory(Path.GetDirectoryName(reportFullPath));
18+
1719
if (File.Exists(reportFullPath))
1820
File.Delete(reportFullPath);
1921
try

0 commit comments

Comments
 (0)