File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
tests/unit/Codeception/Module Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 66 - 7.1
77 - 7.2
88 - 7.3
9+ - 7.4snapshot
910
1011# faster builds on new travis setup not using sudo
1112sudo : false
Original file line number Diff line number Diff line change @@ -20,18 +20,17 @@ class SoapTest extends \Codeception\PHPUnit\TestCase
2020 public function _setUp ()
2121 {
2222 $ container = \Codeception \Util \Stub::make ('Codeception\Lib\ModuleContainer ' );
23+ $ frameworkModule = new \Codeception \Module \UniversalFramework ($ container );
24+ $ frameworkModule ->client = Stub::makeEmpty ('\Codeception\Lib\Connector\Universal ' );
2325 $ this ->module = new \Codeception \Module \SOAP ($ container );
2426 $ this ->module ->_setConfig (array (
2527 'schema ' => 'http://www.w3.org/2001/xml.xsd ' ,
2628 'endpoint ' => 'http://codeception.com/api/wsdl '
2729 ));
30+ $ this ->module ->_inject ($ frameworkModule );
2831 $ this ->layout = \Codeception \Configuration::dataDir ().'/layout.xml ' ;
2932 $ this ->module ->isFunctional = true ;
3033 $ this ->module ->_before (Stub::makeEmpty ('\Codeception\Test\Test ' ));
31-
32- //loading framework module creates AbstractBrowser class alias used by connector
33- $ frameworkModule = new \Codeception \Module \UniversalFramework ($ container );
34- $ this ->module ->client = Stub::makeEmpty ('\Codeception\Lib\Connector\Universal ' );
3534 }
3635
3736 public function testXmlIsBuilt ()
You can’t perform that action at this time.
0 commit comments