Skip to content

Commit 78e0f74

Browse files
merge magento/2.4-develop into magento-tsg/2.4-develop-pr46
2 parents b11d23d + 6f38590 commit 78e0f74

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

dev/tests/api-functional/testsuite/Magento/Webapi/WsdlGenerationFromDataObjectTest.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ protected function _getWsdlContent($wsdlUrl)
116116
$responseDom->loadXML($responseContent),
117117
"Valid XML is always expected as a response for WSDL request."
118118
);
119-
return $responseContent;
119+
return $responseDom->saveXML();
120120
}
121121

122122
/**
@@ -207,7 +207,7 @@ protected function _checkComplexTypesDeclaration($wsdlContent)
207207
<xsd:sequence>
208208
<xsd:element name="id" minOccurs="1" maxOccurs="1" type="xsd:int">
209209
<xsd:annotation>
210-
<xsd:documentation></xsd:documentation>
210+
<xsd:documentation/>
211211
<xsd:appinfo xmlns:inf="{$this->_soapUrl}">
212212
<inf:min/>
213213
<inf:max/>
@@ -231,7 +231,7 @@ protected function _checkComplexTypesDeclaration($wsdlContent)
231231
<xsd:sequence>
232232
<xsd:element name="entityId" minOccurs="1" maxOccurs="1" type="xsd:int">
233233
<xsd:annotation>
234-
<xsd:documentation></xsd:documentation>
234+
<xsd:documentation/>
235235
<xsd:appinfo xmlns:inf="{$this->_soapUrl}">
236236
<inf:min/>
237237
<inf:max/>
@@ -266,7 +266,7 @@ protected function _checkComplexTypesDeclaration($wsdlContent)
266266
<xsd:sequence>
267267
<xsd:element name="result" minOccurs="1" maxOccurs="1" type="tns:TestModule5V2EntityAllSoapAndRest">
268268
<xsd:annotation>
269-
<xsd:documentation></xsd:documentation>
269+
<xsd:documentation/>
270270
<xsd:appinfo xmlns:inf="{$this->_soapUrl}">
271271
<inf:callInfo>
272272
<inf:callName>testModule5AllSoapAndRestV2Item</inf:callName>
@@ -290,7 +290,7 @@ protected function _checkComplexTypesDeclaration($wsdlContent)
290290
<xsd:sequence>
291291
<xsd:element name="result" minOccurs="1" maxOccurs="1" type="tns:TestModule5V1EntityAllSoapAndRest">
292292
<xsd:annotation>
293-
<xsd:documentation></xsd:documentation>
293+
<xsd:documentation/>
294294
<xsd:appinfo xmlns:inf="{$this->_soapUrl}">
295295
<inf:callInfo>
296296
<inf:callName>testModule5AllSoapAndRestV1Item</inf:callName>
@@ -331,7 +331,7 @@ protected function _checkReferencedTypeDeclaration($wsdlContent)
331331
<xsd:sequence>
332332
<xsd:element name="price" minOccurs="1" maxOccurs="1" type="xsd:int">
333333
<xsd:annotation>
334-
<xsd:documentation></xsd:documentation>
334+
<xsd:documentation/>
335335
<xsd:appinfo xmlns:inf="{$this->_soapUrl}">
336336
<inf:min/>
337337
<inf:max/>
@@ -835,15 +835,15 @@ protected function _checkFaultsComplexTypeSection($wsdlContent)
835835
<xsd:sequence>
836836
<xsd:element name="key" minOccurs="1" maxOccurs="1" type="xsd:string">
837837
<xsd:annotation>
838-
<xsd:documentation></xsd:documentation>
838+
<xsd:documentation/>
839839
<xsd:appinfo xmlns:inf="{$this->_soapUrl}">
840840
<inf:maxLength/>
841841
</xsd:appinfo>
842842
</xsd:annotation>
843843
</xsd:element>
844844
<xsd:element name="value" minOccurs="1" maxOccurs="1" type="xsd:string">
845845
<xsd:annotation>
846-
<xsd:documentation></xsd:documentation>
846+
<xsd:documentation/>
847847
<xsd:appinfo xmlns:inf="{$this->_soapUrl}">
848848
<inf:maxLength/>
849849
</xsd:appinfo>
@@ -865,7 +865,7 @@ protected function _checkFaultsComplexTypeSection($wsdlContent)
865865
<xsd:sequence>
866866
<xsd:element name="message" minOccurs="1" maxOccurs="1" type="xsd:string">
867867
<xsd:annotation>
868-
<xsd:documentation></xsd:documentation>
868+
<xsd:documentation/>
869869
<xsd:appinfo xmlns:inf="{$this->_baseUrl}/soap/{$this->_storeCode}?services=testModule5AllSoapAndRestV2">
870870
<inf:maxLength/>
871871
</xsd:appinfo>
@@ -888,7 +888,7 @@ protected function _checkFaultsComplexTypeSection($wsdlContent)
888888
<xsd:sequence>
889889
<xsd:element name="message" minOccurs="1" maxOccurs="1" type="xsd:string">
890890
<xsd:annotation>
891-
<xsd:documentation></xsd:documentation>
891+
<xsd:documentation/>
892892
<xsd:appinfo xmlns:inf="{$this->_baseUrl}/soap/{$this->_storeCode}?services=testModule5AllSoapAndRestV1%2CtestModule5AllSoapAndRestV2">
893893
<inf:maxLength/>
894894
</xsd:appinfo>

0 commit comments

Comments
 (0)