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 3737class SOAP extends \Codeception \Module
3838{
3939
40- protected $ config = array ('schema ' => "" , 'schema_url ' => 'http://schemas.xmlsoap.org/soap/envelope/ ' );
40+ protected $ config = array ('schema ' => "" , 'schema_url ' => 'http://schemas.xmlsoap.org/soap/envelope/ ' , ' framework_collect_buffer ' => true );
4141 protected $ requiredFields = array ('endpoint ' );
4242 /**
4343 * @var \Symfony\Component\BrowserKit\Client
@@ -159,7 +159,7 @@ public function sendSoapRequest($action, $body = "")
159159 $ xmlBody ->appendChild ($ call );
160160 $ this ->debugSection ("Request " , $ req = $ xml ->C14N ());
161161
162- if ($ this ->is_functional ) {
162+ if ($ this ->is_functional and $ this -> config [ ' framework_collect_buffer ' ] ) {
163163 $ response = $ this ->processInternalRequest ($ action , $ req );
164164 } else {
165165 $ response = $ this ->processExternalRequest ($ action , $ req );
You can’t perform that action at this time.
0 commit comments