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 eeff55e commit 389db84Copy full SHA for 389db84
tests/PhpWordTests/Writer/Word2007/Part/FootnotesTest.php
@@ -49,5 +49,8 @@ public function testWriteFootnotes(): void
49
50
self::assertTrue($doc->elementExists('/w:document/w:body/w:p/w:r/w:footnoteReference'));
51
self::assertTrue($doc->elementExists('/w:document/w:body/w:p/w:r/w:endnoteReference'));
52
+
53
+ self::assertFalse($doc->elementExists('/w:document/w:body/w:p/w:r/w:footnoteReference[@w:id="0"]'));
54
+ self::assertTrue($doc->elementExists('/w:document/w:body/w:p/w:r/w:footnoteReference[@w:id="1"]'));
55
}
56
0 commit comments