From 75022c5526adc5b83f72ab200b15c57e3b94df57 Mon Sep 17 00:00:00 2001 From: Roman Syroeshko Date: Sun, 22 Mar 2015 12:12:32 +0400 Subject: [PATCH] #495. --- tests/PhpWord/Tests/Element/PreserveTextTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/PhpWord/Tests/Element/PreserveTextTest.php b/tests/PhpWord/Tests/Element/PreserveTextTest.php index dbecc45d..05cfded3 100644 --- a/tests/PhpWord/Tests/Element/PreserveTextTest.php +++ b/tests/PhpWord/Tests/Element/PreserveTextTest.php @@ -57,7 +57,7 @@ class PreserveTextTest extends \PHPUnit_Framework_TestCase { $oPreserveText = new PreserveText( htmlspecialchars('text', ENT_COMPAT, 'UTF-8'), - null, + array('size' => 16, 'color' => '1B2232'), array('alignment' => 'center') ); $this->assertInstanceOf('PhpOffice\\PhpWord\\Style\\Font', $oPreserveText->getFontStyle());