Skip to content

Commit d35db83

Browse files
author
Roman Syroeshko
committed
[CHANGED] Added annotations to StyleTest and performed minor refactoring.
1 parent c11df2e commit d35db83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PhpWord/Tests/StyleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function testStyles()
6464
Style::addTableStyle('Table', $table);
6565
Style::setDefaultParagraphStyle($paragraph);
6666

67-
$this->assertEquals(count($styles), Style::countStyles());
67+
$this->assertCount(count($styles), Style::getStyles());
6868
foreach ($styles as $name => $style) {
6969
$this->assertInstanceOf("PhpOffice\\PhpWord\\Style\\{$style}", Style::getStyle($name));
7070
}

0 commit comments

Comments
 (0)