File tree 2 files changed +4
-4
lines changed
tests/unit/Codeception/Module
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
use Codeception \Test \Unit ;
4
- use Codeception \Util \ Stub ;
4
+ use Codeception \Stub ;
5
5
6
6
class PhpBrowserRestTest extends Unit
7
7
{
@@ -17,7 +17,7 @@ class PhpBrowserRestTest extends Unit
17
17
18
18
public function _setUp ()
19
19
{
20
- $ container = \ Codeception \ Util \ Stub::make ('Codeception\Lib\ModuleContainer ' );
20
+ $ container = Stub::make ('Codeception\Lib\ModuleContainer ' );
21
21
$ this ->phpBrowser = new \Codeception \Module \PhpBrowser ($ container );
22
22
$ url = 'http://localhost:8010 ' ;
23
23
$ this ->phpBrowser ->_setConfig (['url ' => $ url ]);
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
use Codeception \Exception \TestRuntimeException ;
4
- use Codeception \Util \ Stub ;
4
+ use Codeception \Stub ;
5
5
6
6
require_once 'tests/data/app/data.php ' ;
7
7
require_once __DIR__ . '/TestsForBrowsers.php ' ;
@@ -21,7 +21,7 @@ class PhpBrowserTest extends TestsForBrowsers
21
21
22
22
protected function _setUp ()
23
23
{
24
- $ container = \ Codeception \ Util \ Stub::make ('Codeception\Lib\ModuleContainer ' );
24
+ $ container = Stub::make ('Codeception\Lib\ModuleContainer ' );
25
25
$ this ->module = new \Codeception \Module \PhpBrowser ($ container );
26
26
$ url = 'http://localhost:8000 ' ;
27
27
$ this ->module ->_setConfig (['url ' => $ url ]);
You can’t perform that action at this time.
0 commit comments