File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tests/unit/Codeception/Module Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
- use Codeception \Util \ Stub ;
2
+ use Codeception \Stub ;
3
3
4
4
require_once __DIR__ . '/TestsForWeb.php ' ;
5
5
@@ -15,7 +15,7 @@ class FrameworksTest extends TestsForWeb
15
15
16
16
public function _setUp ()
17
17
{
18
- $ container = \ Codeception \ Util \ Stub::make ('Codeception\Lib\ModuleContainer ' );
18
+ $ container = Stub::make ('Codeception\Lib\ModuleContainer ' );
19
19
$ this ->module = new \Codeception \Module \UniversalFramework ($ container );
20
20
$ this ->module ->_initialize ();
21
21
}
@@ -85,9 +85,9 @@ public function testMoveBackThrowsExceptionIfNumberOfStepsIsInvalid()
85
85
86
86
public function testCreateSnapshotOnFail ()
87
87
{
88
- $ container = \ Codeception \ Util \ Stub::make ('Codeception\Lib\ModuleContainer ' );
88
+ $ container = Stub::make ('Codeception\Lib\ModuleContainer ' );
89
89
$ module = Stub::construct (get_class ($ this ->module ), [$ container ], [
90
- '_savePageSource ' => \ Codeception \ Stub \Expected::once (function ($ filename ) {
90
+ '_savePageSource ' => Stub \Expected::once (function ($ filename ) {
91
91
$ this ->assertEquals (codecept_log_dir ('Codeception.Module.UniversalFramework.looks.like..test.fail.html ' ), $ filename );
92
92
}),
93
93
]);
You can’t perform that action at this time.
0 commit comments