File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ class SOAP extends \Codeception\Module
5454EOF ;
5555
5656
57- protected $ config = ['schema ' => "" , 'schema_url ' => 'http://schemas.xmlsoap.org/soap/envelope/ ' ];
57+ protected $ config = ['schema ' => "" , 'schema_url ' => 'http://schemas.xmlsoap.org/soap/envelope/ ' , ' framework_collect_buffer ' => true ];
5858 protected $ requiredFields = ['endpoint ' ];
5959 /**
6060 * @var \Symfony\Component\BrowserKit\Client
@@ -207,7 +207,7 @@ public function sendSoapRequest($action, $body = "")
207207 $ xmlBody ->appendChild ($ call );
208208 $ this ->debugSection ("Request " , $ req = $ xml ->C14N ());
209209
210- if ($ this ->isFunctional ) {
210+ if ($ this ->isFunctional && $ this -> config [ ' framework_collect_buffer ' ] ) {
211211 $ response = $ this ->processInternalRequest ($ action , $ req );
212212 } else {
213213 $ response = $ this ->processExternalRequest ($ action , $ req );
You can’t perform that action at this time.
0 commit comments