Skip to content

Commit cf27c6d

Browse files
committed
self::assertEquals('false', $element->getAttribute('style:use-window-font-color'));
1 parent f0357bb commit cf27c6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/PhpWordTests/Writer/ODText/Style/FontTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public function testDefaultDefaults(): void
4747
$element = $doc->getElement($path, $file);
4848

4949
self::assertEquals('#000000', $element->getAttribute('fo:color'));
50+
self::assertEquals('false', $element->getAttribute('style:use-window-font-color')); //has to be set to false so that fo:color can take effect
5051
}
5152

5253
public function testSettingDefaults(): void

0 commit comments

Comments
 (0)