Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IBX-9289: Update integration tests
Browse files Browse the repository at this point in the history
barw4 authored and tomaszszopinski committed Dec 12, 2024
1 parent a0d63e1 commit 01d0cfc
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
@@ -88,7 +88,6 @@
"pathString",
"contentId",
"versionNo",
"translations",
"name",
"contentTypeIdentifier",
"isContainer",
@@ -109,7 +108,6 @@
"pathString",
"contentId",
"versionNo",
"translations",
"name",
"contentTypeIdentifier",
"isContainer",
2 changes: 0 additions & 2 deletions tests/integration/Resources/REST/Schemas/ContentTreeNode.xsd
Original file line number Diff line number Diff line change
@@ -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"/>
@@ -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"/>
Original file line number Diff line number Diff line change
@@ -66,12 +66,26 @@
]
}
}
}
},
"translations": {
"type": "object",
"properties": {
"values": {
"type": "array",
"items": [
{
"type": "string"
}
]
}
}
}
},
"required": [
"_media-type",
"permissions",
"previewableTranslations"
"previewableTranslations",
"translations"
]
}
},
Original file line number Diff line number Diff line change
@@ -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>
Original file line number Diff line number Diff line change
@@ -17,7 +17,6 @@
"pathString": "/1/2/",
"reverseRelationsCount": 0,
"totalChildrenCount": 0,
"translations": "eng-GB",
"versionNo": 1
},
{
@@ -35,7 +34,6 @@
"pathString": "/1/43/",
"reverseRelationsCount": 0,
"totalChildrenCount": 3,
"translations": "eng-US",
"versionNo": 1
},
{
@@ -53,7 +51,6 @@
"pathString": "/1/48/",
"reverseRelationsCount": 0,
"totalChildrenCount": 0,
"translations": "eng-US",
"versionNo": 1
},
{
@@ -71,7 +68,6 @@
"pathString": "/1/58/",
"reverseRelationsCount": 0,
"totalChildrenCount": 0,
"translations": "eng-US",
"versionNo": 1
}
],
@@ -87,7 +83,6 @@
"pathString": "/1/",
"reverseRelationsCount": 0,
"totalChildrenCount": 4,
"translations": "",
"versionNo": 1
}
}
Original file line number Diff line number Diff line change
@@ -17,7 +17,6 @@
"pathString": "/1/43/",
"reverseRelationsCount": 0,
"totalChildrenCount": 0,
"translations": "eng-US",
"versionNo": 1
}
],
@@ -33,7 +32,6 @@
"pathString": "/1/",
"reverseRelationsCount": 0,
"totalChildrenCount": 1,
"translations": "",
"versionNo": 1
}
}
Original file line number Diff line number Diff line change
@@ -17,7 +17,6 @@
"pathString": "/1/43/",
"reverseRelationsCount": 0,
"totalChildrenCount": 3,
"translations": "eng-US",
"versionNo": 1
},
{
@@ -35,7 +34,6 @@
"pathString": "/1/48/",
"reverseRelationsCount": 0,
"totalChildrenCount": 0,
"translations": "eng-US",
"versionNo": 1
},
{
@@ -53,7 +51,6 @@
"pathString": "/1/5/",
"reverseRelationsCount": 0,
"totalChildrenCount": 5,
"translations": "eng-US",
"versionNo": 1
},
{
@@ -71,7 +68,6 @@
"pathString": "/1/58/",
"reverseRelationsCount": 0,
"totalChildrenCount": 0,
"translations": "eng-US",
"versionNo": 1
}
],
@@ -87,7 +83,6 @@
"pathString": "/1/",
"reverseRelationsCount": 0,
"totalChildrenCount": 4,
"translations": "",
"versionNo": 1
}
}
Original file line number Diff line number Diff line change
@@ -17,7 +17,6 @@
"pathString": "/1/43/",
"reverseRelationsCount": 0,
"totalChildrenCount": 3,
"translations": "eng-US",
"versionNo": 1
},
{
@@ -35,7 +34,6 @@
"pathString": "/1/48/",
"reverseRelationsCount": 0,
"totalChildrenCount": 0,
"translations": "eng-US",
"versionNo": 1
},
{
@@ -53,7 +51,6 @@
"pathString": "/1/58/",
"reverseRelationsCount": 0,
"totalChildrenCount": 0,
"translations": "eng-US",
"versionNo": 1
}
],
@@ -69,7 +66,6 @@
"pathString": "/1/",
"reverseRelationsCount": 0,
"totalChildrenCount": 3,
"translations": "",
"versionNo": 1
}
}
Original file line number Diff line number Diff line change
@@ -17,7 +17,6 @@
"pathString": "/1/2/",
"reverseRelationsCount": 0,
"totalChildrenCount": 1,
"translations": "eng-GB",
"versionNo": 1
},
{
@@ -35,7 +34,6 @@
"pathString": "/1/43/",
"reverseRelationsCount": 0,
"totalChildrenCount": 3,
"translations": "eng-US",
"versionNo": 1
},
{
@@ -53,7 +51,6 @@
"pathString": "/1/48/",
"reverseRelationsCount": 0,
"totalChildrenCount": 0,
"translations": "eng-US",
"versionNo": 1
},
{
@@ -71,7 +68,6 @@
"pathString": "/1/5/",
"reverseRelationsCount": 0,
"totalChildrenCount": 5,
"translations": "eng-US",
"versionNo": 1
},
{
@@ -89,7 +85,6 @@
"pathString": "/1/58/",
"reverseRelationsCount": 0,
"totalChildrenCount": 0,
"translations": "eng-US",
"versionNo": 1
}
],
@@ -105,7 +100,6 @@
"pathString": "/1/",
"reverseRelationsCount": 0,
"totalChildrenCount": 5,
"translations": "",
"versionNo": 1
}
}
Original file line number Diff line number Diff line change
@@ -4,7 +4,6 @@
<pathString>/1/</pathString>
<contentId>0</contentId>
<versionNo>1</versionNo>
<translations/>
<mainLanguageCode>eng-GB</mainLanguageCode>
<name/>
<contentTypeIdentifier/>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
@@ -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>
Original file line number Diff line number Diff line change
@@ -38,6 +38,9 @@
],
"previewableTranslations": {
"values": ["eng-GB"]
},
"translations": {
"values": ["eng-GB"]
}
}
}
Original file line number Diff line number Diff line change
@@ -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
@@ -8,7 +8,6 @@
"mainLanguageCode": "eng-GB",
"contentId": 57,
"versionNo": 1,
"translations": "eng-GB",
"name": "Home",
"pathString": "/1/2/",
"contentTypeIdentifier": "landing_page",
@@ -25,7 +24,6 @@
"mainLanguageCode": "eng-GB",
"contentId": 58,
"versionNo": 1,
"translations": "eng-GB",
"name": "Contact Us",
"pathString": "/1/2/60/",
"contentTypeIdentifier": "feedback_form",

0 comments on commit 01d0cfc

Please sign in to comment.