File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed
app/code/Magento/Webapi/Model/Rest/Swagger
dev/tests/integration/testsuite/Magento/Webapi/Controller Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 1313use Magento \Webapi \Model \Rest \SwaggerFactory ;
1414use Magento \Framework \Webapi \Authorization ;
1515use Magento \Framework \Webapi \Exception as WebapiException ;
16- use Magento \Framework \Exception \AuthenticationException ;
17- use Magento \Framework \Exception \AuthorizationException ;
18- use Magento \Framework \Exception \LocalizedException ;
19- use Magento \Framework \Exception \NoSuchEntityException ;
20- use Magento \Framework \Phrase ;
2116use Magento \Framework \App \ProductMetadataInterface ;
2217use \Magento \Framework \Api \SimpleDataObjectConverter ;
2318use Magento \Webapi \Model \ServiceMetadata ;
Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ public function testDispatchWsdlRequest()
3232 $ request = $ this ->objectManager ->get (\Magento \Framework \Webapi \Request::class);
3333 $ request ->setParam (\Magento \Webapi \Model \Soap \Server::REQUEST_PARAM_LIST_WSDL , true );
3434 $ response = $ this ->soapController ->dispatch ($ request );
35- $ decoded_wsdl = json_decode ($ response ->getContent (), true );
36- $ this ->assertArrayHasKey ("customerAccountManagementV1 " , $ decoded_wsdl );
37- $ this ->assertArrayHasKey ("integrationAdminTokenServiceV1 " , $ decoded_wsdl );
35+ $ decodedWsdl = json_decode ($ response ->getContent (), true );
36+ $ this ->assertArrayHasKey ("customerAccountManagementV1 " , $ decodedWsdl );
37+ $ this ->assertArrayHasKey ("integrationAdminTokenServiceV1 " , $ decodedWsdl );
3838 }
39- }
39+ }
You can’t perform that action at this time.
0 commit comments