Skip to content

Commit fd96138

Browse files
committed
phpbrowser no longer has a session method. Get client from public property.
1 parent e212be5 commit fd96138

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
@@ -69,7 +69,7 @@ public function _before(\Codeception\TestCase $test)
6969
} else {
7070
if (!$this->hasModule('PhpBrowser'))
7171
throw new \Codeception\Exception\ModuleConfig(__CLASS__, "For Soap testing via HTTP please enable PhpBrowser module");
72-
$this->client = $this->getModule('PhpBrowser')->session->getDriver()->getClient();
72+
$this->client = $this->getModule('PhpBrowser')->client;
7373
}
7474
if (!$this->client) throw new \Codeception\Exception\ModuleConfig(__CLASS__, "Client for SOAP requests not initialized.\nProvide either PhpBrowser module or Framework module which shares FrameworkInterface");
7575
}
@@ -385,7 +385,7 @@ protected function matchElement($cssOrXPath)
385385
}
386386
$this->fail("No node matched CSS or XPath '$cssOrXPath'");
387387
}
388-
388+
389389

390390
protected function structureMatches($schema, $xml)
391391
{

0 commit comments

Comments
 (0)