From a15aae537fe1baa6d9d3099ac09cd66cef86955c Mon Sep 17 00:00:00 2001 From: Gonzalo Gallotti Vazquez Date: Wed, 8 Jan 2025 14:56:29 +0000 Subject: [PATCH] Cherry pick branch 'genexuslabs:storage-unittest-localstack' into beta --- dotnet/test/DotNetPdfTest/PDFTests.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dotnet/test/DotNetPdfTest/PDFTests.cs b/dotnet/test/DotNetPdfTest/PDFTests.cs index 7e17ac513..ba017b7a8 100644 --- a/dotnet/test/DotNetPdfTest/PDFTests.cs +++ b/dotnet/test/DotNetPdfTest/PDFTests.cs @@ -11,9 +11,11 @@ public class PDFTests public void TestITextFormat() { string report = "PDFFormat.pdf"; - string outputFileDirectory = @".\temp\"; + string outputFileDirectory = "temp"; string reportFullPath = Path.Combine(Directory.GetCurrentDirectory(), outputFileDirectory, report); + Directory.CreateDirectory(Path.GetDirectoryName(reportFullPath)); + if (File.Exists(reportFullPath)) File.Delete(reportFullPath); try