File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
roles/tests-unit/files/FWO.Test Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ internal class HtmlToPdfTest
1818 private const string FilePath = "pdffile.pdf" ;
1919 private const string Html = "<html> <body> <h1>test</h1> <h2>test mit puppteer</h2> </body> </html>" ;
2020 private const string ChromeBinPathLinux = "/usr/local/bin" ;
21-
21+
2222
2323 [ Test ]
2424 public async Task GeneratePdf ( )
@@ -75,9 +75,7 @@ public async Task GeneratePdf()
7575 ExecutablePath = installedBrowser . GetExecutablePath ( ) ,
7676 Headless = true ,
7777 DumpIO = isGitHubActions != null ? true : false , // Enables debug logs
78- Args = isGitHubActions != null ?
79- new [ ] { "--database=/tmp" , "--no-sandbox" , "--no-zygote" }
80- : [ ] // No additional arguments locally
78+ Args = new [ ] { "--database=/tmp" , "--no-sandbox" , "--no-zygote" }
8179 } ) ;
8280
8381 try
You can’t perform that action at this time.
0 commit comments