diff options
| author | Michael Williamson <mike@zwobble.org> | 2024-02-18 13:01:07 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2024-02-18 13:01:07 +0000 |
| commit | 687e940b8c5e286ef2eed604b0f77d4eac9890bd (patch) | |
| tree | 32241b1b095cb8ca22a501ab0306a1318d9cae24 /test | |
| parent | c2c6dd1714bd02f7e516746daf3d22938e6407ee (diff) | |
Add namespace mapping for relationships
Diffstat (limited to 'test')
| -rw-r--r-- | test/docx/relationships-reader.tests.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/docx/relationships-reader.tests.js b/test/docx/relationships-reader.tests.js index 1427b1c..c9afee5 100644 --- a/test/docx/relationships-reader.tests.js +++ b/test/docx/relationships-reader.tests.js @@ -57,9 +57,9 @@ test("when there are no relationships of requested type then empty array is retu function relationshipsElement(children) { - return xml.element("{http://schemas.openxmlformats.org/package/2006/relationships}Relationships", {}, children); + return xml.element("relationships:Relationships", {}, children); } function relationshipElement(attributes) { - return xml.element("{http://schemas.openxmlformats.org/package/2006/relationships}Relationship", attributes, []); + return xml.element("relationships:Relationship", attributes, []); } |
