Skip to content

Commit 0198aec

Browse files
author
Roman Syroeshko
committed
1 parent f2cd42f commit 0198aec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/PhpWord/Tests/Element/PreserveTextTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ public function testConstructWithArray()
5757
{
5858
$oPreserveText = new PreserveText(
5959
htmlspecialchars('text', ENT_COMPAT, 'UTF-8'),
60-
array('align' => 'center'),
61-
array('marginLeft' => 600, 'marginRight' => 600, 'marginTop' => 600, 'marginBottom' => 600)
60+
null,
61+
array('alignment' => 'center')
6262
);
6363
$this->assertInstanceOf('PhpOffice\\PhpWord\\Style\\Font', $oPreserveText->getFontStyle());
6464
$this->assertInstanceOf('PhpOffice\\PhpWord\\Style\\Paragraph', $oPreserveText->getParagraphStyle());

0 commit comments

Comments
 (0)