From f2ba9a1d3b5971d0a49102e1a5ceb39a352e5ddd Mon Sep 17 00:00:00 2001 From: Ivan Lanin Date: Fri, 14 Mar 2014 04:36:31 +0700 Subject: [PATCH] Unit test for footnotes --- Tests/PHPWord/Writer/Word2007/FootnotesTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/PHPWord/Writer/Word2007/FootnotesTest.php b/Tests/PHPWord/Writer/Word2007/FootnotesTest.php index 70083de7..bac2ed83 100644 --- a/Tests/PHPWord/Writer/Word2007/FootnotesTest.php +++ b/Tests/PHPWord/Writer/Word2007/FootnotesTest.php @@ -29,6 +29,6 @@ class FootnotesTest extends \PHPUnit_Framework_TestCase $footnote->addLink('http://google.com'); $doc = TestHelperDOCX::getDocument($PHPWord); - $this->assertEquals(1, 1); + $this->assertTrue($doc->elementExists("/w:document/w:body/w:p/w:r/w:footnoteReference']")); } }