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 51034af commit 166a136Copy full SHA for 166a136
tests/PhpWord/Reader/Word2007/ElementTest.php
@@ -59,12 +59,9 @@ public function testReadAlternateContent()
59
$phpWord = $this->getDocumentFromString(array('document' => $documentXml));
60
61
$elements = $phpWord->getSection(0)->getElements();
62
-
63
$this->assertInstanceOf('PhpOffice\PhpWord\Element\TextRun', $elements[0]);
64
$this->assertInstanceOf('PhpOffice\PhpWord\Element\Text', $elements[0]->getElement(0));
65
66
$text = $elements[0];
67
68
$this->assertEquals('Test node value', trim($text->getElement(0)->getText()));
69
}
70
0 commit comments