Skip to content

Commit

Permalink
#495.
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Syroeshko committed Mar 22, 2015
1 parent f2cd42f commit 0198aec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/PhpWord/Tests/Element/PreserveTextTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ public function testConstructWithArray()
{
$oPreserveText = new PreserveText(
htmlspecialchars('text', ENT_COMPAT, 'UTF-8'),
array('align' => 'center'),
array('marginLeft' => 600, 'marginRight' => 600, 'marginTop' => 600, 'marginBottom' => 600)
null,
array('alignment' => 'center')
);
$this->assertInstanceOf('PhpOffice\\PhpWord\\Style\\Font', $oPreserveText->getFontStyle());
$this->assertInstanceOf('PhpOffice\\PhpWord\\Style\\Paragraph', $oPreserveText->getParagraphStyle());
Expand Down

0 comments on commit 0198aec

Please sign in to comment.