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 33
44use Codeception \Lib \Interfaces \DependsOnModule ;
55use Codeception \Module as CodeceptionModule ;
6- use Codeception \TestCase ;
6+ use Codeception \TestInterface ;
77use Codeception \Exception \ModuleException ;
88use Codeception \Exception \ModuleRequireException ;
99use Codeception \Lib \Framework ;
@@ -87,7 +87,7 @@ class SOAP extends CodeceptionModule implements DependsOnModule
8787 */
8888 protected $ connectionModule ;
8989
90- public function _before (TestCase $ test )
90+ public function _before (TestInterface $ test )
9191 {
9292 $ this ->client = &$ this ->connectionModule ->client ;
9393 $ this ->buildRequest ();
Original file line number Diff line number Diff line change 11<?php
22
3- use Codeception \Util \Stub as Stub ;
3+ use Codeception \Util \Stub ;
44use Codeception \Util \Soap as SoapUtil ;
55
66/**
@@ -22,7 +22,7 @@ public function setUp() {
2222 $ this ->module ->_setConfig (array ('schema ' => 'http://www.w3.org/2001/xml.xsd ' , 'endpoint ' => 'http://codeception.com/api/wsdl ' ));
2323 $ this ->layout = \Codeception \Configuration::dataDir ().'/xml/layout.xml ' ;
2424 $ this ->module ->isFunctional = true ;
25- $ this ->module ->_before (Stub::makeEmpty ('\Codeception\TestCase\Cept ' ));
25+ $ this ->module ->_before (Stub::makeEmpty ('\Codeception\Test\Test ' ));
2626 $ this ->module ->client = Stub::makeEmpty ('\Codeception\Lib\Connector\Universal ' );
2727 }
2828
You can’t perform that action at this time.
0 commit comments