Browse files

fix to soap

  • Loading branch information...
1 parent 66e2328 commit f6da3d792bae75a288725f274be6d4a5dbd7dac1 @DavertMik DavertMik committed Jun 19, 2012
Showing with 2 additions and 6 deletions.
  1. +1 −6 src/Codeception/Module/Soap.php
  2. +1 −0 tests/unit/Codeception/ScenarioCest.php
View
7 src/Codeception/Module/Soap.php
@@ -47,10 +47,6 @@ class SOAP extends \Codeception\Module
*/
public $xmlResponse = null;
- public function _initialize() {
-
- }
-
public function _before(\Codeception\TestCase $test)
{
if (!$this->client) {
@@ -117,7 +113,7 @@ public function haveSoapHeader($header, $params = array())
* Requires of api function name and parameters.
* Parameters can be passed either as DOMDocument, DOMNode, XML string, or array (if no attributes).
*
- * You are allowed to execute as much requests as you need inside test. But keep in mind that request xml is cleaned after each call.
+ * You are allowed to execute as much requests as you need inside test.
*
* Example:
*
@@ -154,7 +150,6 @@ public function sendSoapRequest($action, $body = "")
$this->debugSection("Response", $response);
$this->xmlResponse = SoapUtils::toXml($response);
- $this->buildRequest();
}
/**
View
1 tests/unit/Codeception/ScenarioCest.php
@@ -15,4 +15,5 @@ public function run(CodeGuy $I) {
->seeMethodInvoked($test,'runStep')
->seePropertyEquals($scenario, 'currentStep', 1);
}
+
}

0 comments on commit f6da3d7

Please sign in to comment.