Skip to content

Commit 8bb9a99

Browse files
committed
fix warning
1 parent 07c9d9f commit 8bb9a99

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/PhpWord/Shared/HtmlTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ public function testParseTable()
173173

174174
$doc = TestHelperDOCX::getDocument($phpWord, 'Word2007');
175175
// echo $doc->printXml();
176-
// $this->assertTrue($doc->elementExists('/w:document/w:body/w:tbl/w:tr/w:tc'));
176+
$this->assertTrue($doc->elementExists('/w:document/w:body/w:p'));
177+
// $this->assertTrue($doc->elementExists('/w:document/w:body/w:p/w:tbl/w:tr/w:tc'));
177178
}
178179
}

0 commit comments

Comments
 (0)