test fixes

This commit is contained in:
Dennis Eichhorn 2023-09-24 03:50:15 +00:00
parent 5ca0edcd24
commit 917be6cdfd

View File

@ -31,6 +31,9 @@ $word = new DefaultWord();
$section = $word->createFirstPage();
$file = \tempnam(\sys_get_temp_dir(), 'oms_');
if ($file === false) {
return;
}
$writer = \PhpOffice\PhpWord\IOFactory::createWriter($word, 'Word2007');
$writer->save($file);