diff --git a/tests/PhpWord/Tests/TOCTest.php b/tests/PhpWord/Tests/TOCTest.php index a5f509c9..2b9d50e7 100644 --- a/tests/PhpWord/Tests/TOCTest.php +++ b/tests/PhpWord/Tests/TOCTest.php @@ -81,7 +81,7 @@ class TOCTest extends \PHPUnit_Framework_TestCase } TOC::reset(); - $this->assertEquals(0, count(TOC::getTitles())); + $this->assertEquals(0, count($toc->getTitles())); }