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 13
13
use Magento \Webapi \Model \Rest \SwaggerFactory ;
14
14
use Magento \Framework \Webapi \Authorization ;
15
15
use 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 ;
21
16
use Magento \Framework \App \ProductMetadataInterface ;
22
17
use \Magento \Framework \Api \SimpleDataObjectConverter ;
23
18
use Magento \Webapi \Model \ServiceMetadata ;
Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ public function testDispatchWsdlRequest()
32
32
$ request = $ this ->objectManager ->get (\Magento \Framework \Webapi \Request::class);
33
33
$ request ->setParam (\Magento \Webapi \Model \Soap \Server::REQUEST_PARAM_LIST_WSDL , true );
34
34
$ 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 );
38
38
}
39
- }
39
+ }
You can’t perform that action at this time.
0 commit comments