diff --git a/tests/fixtures/AP_scientifiques.odt b/tests/fixtures/AP_scientifiques.odt deleted file mode 100644 index 4ef361e..0000000 Binary files a/tests/fixtures/AP_scientifiques.odt and /dev/null differ diff --git a/tests/fixtures/if-then-each.odt b/tests/fixtures/if-then-each.odt new file mode 100644 index 0000000..1b6f1ae Binary files /dev/null and b/tests/fixtures/if-then-each.odt differ diff --git a/tools/create-odt-file-from-template.js b/tools/create-odt-file-from-template.js index 4ac09d2..6af5ea8 100644 --- a/tools/create-odt-file-from-template.js +++ b/tools/create-odt-file-from-template.js @@ -115,8 +115,8 @@ const data = { } */ -const templatePath = join(import.meta.dirname, '../tests/fixtures/AP_scientifiques.odt') -const data = {nombre : 37} +const templatePath = join(import.meta.dirname, '../tests/fixtures/if-then-each.odt') +const data = {liste_départements : ['95', '33']} const odtTemplate = await getOdtTemplate(templatePath)