File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
tests/PhpWordTests/Writer/HTML Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,17 @@ class FontTest extends \PHPUnit\Framework\TestCase
3333 /** @var float|int */
3434 private $ defaultFontSize ;
3535
36+ /** @var string */
37+ private $ defaultFontColor ;
38+
3639 /**
3740 * Executed before each method of the class.
3841 */
3942 protected function setUp (): void
4043 {
4144 $ this ->defaultFontName = Settings::getDefaultFontName ();
4245 $ this ->defaultFontSize = Settings::getDefaultFontSize ();
46+ $ this ->defaultFontColor = Settings::getDefaultFontColor ();
4347 }
4448
4549 /**
@@ -49,6 +53,7 @@ protected function tearDown(): void
4953 {
5054 Settings::setDefaultFontName ($ this ->defaultFontName );
5155 Settings::setDefaultFontSize ($ this ->defaultFontSize );
56+ Settings::setDefaultFontColor ($ this ->defaultFontColor );
5257 }
5358
5459 /**
You can’t perform that action at this time.
0 commit comments