Skip to content

Commit 8aaa00f

Browse files
committed
add defaultFontColor to FontTest
1 parent b398d4d commit 8aaa00f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/PhpWordTests/Writer/HTML/FontTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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
/**

0 commit comments

Comments
 (0)