Skip to content

Commit 8a67e50

Browse files
committed
merged with stable branch
2 parents 9c1158c + 1b41335 commit 8a67e50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Codeception/Module/SOAP.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class SOAP extends \Codeception\Module
5454
EOF;
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);

0 commit comments

Comments
 (0)