Skip to content

Commit

Permalink
[Module : SOAP] Implement onReconfigure() (Codeception#3186)
Browse files Browse the repository at this point in the history
* Implement onReconfigure()

* Update SOAP.php
  • Loading branch information
eXorus authored and DavertMik committed Jun 7, 2016
1 parent 2e668d1 commit 31b67c2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Codeception/Module/SOAP.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,13 @@ public function _before(TestInterface $test)
$this->xmlStructure = null;
}

protected function onReconfigure()
{
$this->buildRequest();
$this->xmlResponse = null;
$this->xmlStructure = null;
}

public function _depends()
{
return ['Codeception\Lib\InnerBrowser' => $this->dependencyMessage];
Expand Down

0 comments on commit 31b67c2

Please sign in to comment.