We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c11df2e commit d35db83Copy full SHA for d35db83
tests/PhpWord/Tests/StyleTest.php
@@ -64,7 +64,7 @@ public function testStyles()
64
Style::addTableStyle('Table', $table);
65
Style::setDefaultParagraphStyle($paragraph);
66
67
- $this->assertEquals(count($styles), Style::countStyles());
+ $this->assertCount(count($styles), Style::getStyles());
68
foreach ($styles as $name => $style) {
69
$this->assertInstanceOf("PhpOffice\\PhpWord\\Style\\{$style}", Style::getStyle($name));
70
}
0 commit comments