Skip to content

Commit 88a2646

Browse files
committed
add more replacement for testSetValues
1 parent 5ed31c4 commit 88a2646

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

tests/PhpWordTests/TemplateProcessorTest.php

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,18 @@ public function testSetValues(): void
614614
<w:r>
615615
<w:t xml:space="preserve">Hello ${firstname} ${lastname}</w:t>
616616
</w:r>
617-
</w:p>';
617+
</w:p>
618+
<w:p>
619+
<w:r>
620+
<w:t xml:space="preserve">Hello ${firstname} ${lastname}</w:t>
621+
</w:r>
622+
</w:p>
623+
<w:p>
624+
<w:r>
625+
<w:t xml:space="preserve">Hello ${firstname} ${lastname}</w:t>
626+
</w:r>
627+
</w:p>
628+
';
618629

619630
$templateProcessor = new TestableTemplateProcesor($mainPart);
620631
$templateProcessor->setValues(['firstname' => 'John', 'lastname' => 'Doe']);

0 commit comments

Comments
 (0)