File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ outputEscapingEnabled = false
1414
1515defaultFontName = Arial
1616defaultFontSize = 10
17+ defaultFontColor = 000000
1718
1819[Paper]
1920
Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ class SettingsTest extends TestCase
3030{
3131 private $ compatibility ;
3232
33+ /** @var string */
34+ private $ defaultFontColor ;
35+
3336 private $ defaultFontSize ;
3437
3538 private $ defaultFontName ;
@@ -287,6 +290,7 @@ public function testLoadConfig(): void
287290 'pdfRendererPath ' => '' ,
288291 'defaultFontName ' => 'Arial ' ,
289292 'defaultFontSize ' => 10 ,
293+ 'defaultFontColor ' => '000000 ' ,
290294 'outputEscapingEnabled ' => false ,
291295 'defaultPaper ' => 'A4 ' ,
292296 ];
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