Skip to content

Commit

Permalink
IBX-9289: Update integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
barw4 committed Dec 5, 2024
1 parent 2b2b22f commit 6d66425
Show file tree
Hide file tree
Showing 13 changed files with 29 additions and 36 deletions.
2 changes: 0 additions & 2 deletions tests/integration/Resources/REST/Schemas/ContentTreeNode.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
"pathString",
"contentId",
"versionNo",
"translations",
"name",
"contentTypeIdentifier",
"isContainer",
Expand All @@ -109,7 +108,6 @@
"pathString",
"contentId",
"versionNo",
"translations",
"name",
"contentTypeIdentifier",
"isContainer",
Expand Down
2 changes: 0 additions & 2 deletions tests/integration/Resources/REST/Schemas/ContentTreeNode.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<xs:element type="xs:string" name="pathString"/>
<xs:element type="xs:integer" name="contentId"/>
<xs:element type="xs:integer" name="versionNo"/>
<xs:element type="xs:string" name="translations"/>
<xs:element type="xs:string" name="mainLanguageCode"/>
<xs:element type="xs:string" name="name"/>
<xs:element type="xs:string" name="contentTypeIdentifier"/>
Expand All @@ -24,7 +23,6 @@
<xs:element type="xs:string" name="pathString"/>
<xs:element type="xs:integer" name="contentId"/>
<xs:element type="xs:integer" name="versionNo"/>
<xs:element type="xs:string" name="translations"/>
<xs:element type="xs:string" name="mainLanguageCode"/>
<xs:element type="xs:string" name="name"/>
<xs:element type="xs:string" name="contentTypeIdentifier"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,26 @@
]
}
}
}
},
"translations": {
"type": "object",
"properties": {
"values": {
"type": "array",
"items": [
{
"type": "string"
}
]
}
}
}
},
"required": [
"_media-type",
"permissions",
"previewableTranslations"
"previewableTranslations",
"translations"
]
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="translations">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="value" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="media-type" type="xs:string" use="required" />
</xs:complexType>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"pathString": "/1/2/",
"reverseRelationsCount": 0,
"totalChildrenCount": 0,
"translations": "eng-GB",
"versionNo": 1
},
{
Expand All @@ -35,7 +34,6 @@
"pathString": "/1/43/",
"reverseRelationsCount": 0,
"totalChildrenCount": 3,
"translations": "eng-US",
"versionNo": 1
},
{
Expand All @@ -53,7 +51,6 @@
"pathString": "/1/48/",
"reverseRelationsCount": 0,
"totalChildrenCount": 0,
"translations": "eng-US",
"versionNo": 1
},
{
Expand All @@ -71,7 +68,6 @@
"pathString": "/1/58/",
"reverseRelationsCount": 0,
"totalChildrenCount": 0,
"translations": "eng-US",
"versionNo": 1
}
],
Expand All @@ -87,7 +83,6 @@
"pathString": "/1/",
"reverseRelationsCount": 0,
"totalChildrenCount": 4,
"translations": "",
"versionNo": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"pathString": "/1/43/",
"reverseRelationsCount": 0,
"totalChildrenCount": 0,
"translations": "eng-US",
"versionNo": 1
}
],
Expand All @@ -33,7 +32,6 @@
"pathString": "/1/",
"reverseRelationsCount": 0,
"totalChildrenCount": 1,
"translations": "",
"versionNo": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"pathString": "/1/43/",
"reverseRelationsCount": 0,
"totalChildrenCount": 3,
"translations": "eng-US",
"versionNo": 1
},
{
Expand All @@ -35,7 +34,6 @@
"pathString": "/1/48/",
"reverseRelationsCount": 0,
"totalChildrenCount": 0,
"translations": "eng-US",
"versionNo": 1
},
{
Expand All @@ -53,7 +51,6 @@
"pathString": "/1/5/",
"reverseRelationsCount": 0,
"totalChildrenCount": 5,
"translations": "eng-US",
"versionNo": 1
},
{
Expand All @@ -71,7 +68,6 @@
"pathString": "/1/58/",
"reverseRelationsCount": 0,
"totalChildrenCount": 0,
"translations": "eng-US",
"versionNo": 1
}
],
Expand All @@ -87,7 +83,6 @@
"pathString": "/1/",
"reverseRelationsCount": 0,
"totalChildrenCount": 4,
"translations": "",
"versionNo": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"pathString": "/1/43/",
"reverseRelationsCount": 0,
"totalChildrenCount": 3,
"translations": "eng-US",
"versionNo": 1
},
{
Expand All @@ -35,7 +34,6 @@
"pathString": "/1/48/",
"reverseRelationsCount": 0,
"totalChildrenCount": 0,
"translations": "eng-US",
"versionNo": 1
},
{
Expand All @@ -53,7 +51,6 @@
"pathString": "/1/58/",
"reverseRelationsCount": 0,
"totalChildrenCount": 0,
"translations": "eng-US",
"versionNo": 1
}
],
Expand All @@ -69,7 +66,6 @@
"pathString": "/1/",
"reverseRelationsCount": 0,
"totalChildrenCount": 3,
"translations": "",
"versionNo": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"pathString": "/1/2/",
"reverseRelationsCount": 0,
"totalChildrenCount": 1,
"translations": "eng-GB",
"versionNo": 1
},
{
Expand All @@ -35,7 +34,6 @@
"pathString": "/1/43/",
"reverseRelationsCount": 0,
"totalChildrenCount": 3,
"translations": "eng-US",
"versionNo": 1
},
{
Expand All @@ -53,7 +51,6 @@
"pathString": "/1/48/",
"reverseRelationsCount": 0,
"totalChildrenCount": 0,
"translations": "eng-US",
"versionNo": 1
},
{
Expand All @@ -71,7 +68,6 @@
"pathString": "/1/5/",
"reverseRelationsCount": 0,
"totalChildrenCount": 5,
"translations": "eng-US",
"versionNo": 1
},
{
Expand All @@ -89,7 +85,6 @@
"pathString": "/1/58/",
"reverseRelationsCount": 0,
"totalChildrenCount": 0,
"translations": "eng-US",
"versionNo": 1
}
],
Expand All @@ -105,7 +100,6 @@
"pathString": "/1/",
"reverseRelationsCount": 0,
"totalChildrenCount": 5,
"translations": "",
"versionNo": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<pathString>/1/</pathString>
<contentId>0</contentId>
<versionNo>1</versionNo>
<translations/>
<mainLanguageCode>eng-GB</mainLanguageCode>
<name/>
<contentTypeIdentifier/>
Expand All @@ -19,7 +18,6 @@
<pathString>/1/2/</pathString>
<contentId>57</contentId>
<versionNo>1</versionNo>
<translations>eng-GB</translations>
<mainLanguageCode>eng-GB</mainLanguageCode>
<name>Home</name>
<contentTypeIdentifier>landing_page</contentTypeIdentifier>
Expand All @@ -35,7 +33,6 @@
<pathString>/1/43/</pathString>
<contentId>41</contentId>
<versionNo>1</versionNo>
<translations>eng-US</translations>
<mainLanguageCode>eng-US</mainLanguageCode>
<name>Media</name>
<contentTypeIdentifier>folder</contentTypeIdentifier>
Expand All @@ -51,7 +48,6 @@
<pathString>/1/48/</pathString>
<contentId>45</contentId>
<versionNo>1</versionNo>
<translations>eng-US</translations>
<mainLanguageCode>eng-US</mainLanguageCode>
<name>Setup</name>
<contentTypeIdentifier>folder</contentTypeIdentifier>
Expand All @@ -67,7 +63,6 @@
<pathString>/1/5/</pathString>
<contentId>4</contentId>
<versionNo>1</versionNo>
<translations>eng-US</translations>
<mainLanguageCode>eng-US</mainLanguageCode>
<name>Users</name>
<contentTypeIdentifier>user_group</contentTypeIdentifier>
Expand All @@ -83,7 +78,6 @@
<pathString>/1/58/</pathString>
<contentId>56</contentId>
<versionNo>1</versionNo>
<translations>eng-US</translations>
<mainLanguageCode>eng-US</mainLanguageCode>
<name>Design</name>
<contentTypeIdentifier>folder</contentTypeIdentifier>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
],
"previewableTranslations": {
"values": ["eng-GB"]
},
"translations": {
"values": ["eng-GB"]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,7 @@
<previewableTranslations>
<value>eng-GB</value>
</previewableTranslations>
<translations>
<value>eng-GB</value>
</translations>
</ContentTreeNodeExtendedInfo>
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"mainLanguageCode": "eng-GB",
"contentId": 57,
"versionNo": 1,
"translations": "eng-GB",
"name": "Home",
"pathString": "/1/2/",
"contentTypeIdentifier": "landing_page",
Expand All @@ -25,7 +24,6 @@
"mainLanguageCode": "eng-GB",
"contentId": 58,
"versionNo": 1,
"translations": "eng-GB",
"name": "Contact Us",
"pathString": "/1/2/60/",
"contentTypeIdentifier": "feedback_form",
Expand Down

0 comments on commit 6d66425

Please sign in to comment.