From 8d2c6ebd165b08086b0ae4e84d26517c3c6c9623 Mon Sep 17 00:00:00 2001 From: Ivan Lanin Date: Sun, 6 Apr 2014 11:52:16 +0700 Subject: [PATCH] Fix TOCTest error --- tests/PhpWord/Tests/TOCTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())); }