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 11<?php
2- use Codeception \Util \ Stub ;
2+ use Codeception \Stub ;
33
44require_once __DIR__ . '/TestsForWeb.php ' ;
55
@@ -15,7 +15,7 @@ class FrameworksTest extends TestsForWeb
1515
1616 public function _setUp ()
1717 {
18- $ container = \ Codeception \ Util \ Stub::make ('Codeception\Lib\ModuleContainer ' );
18+ $ container = Stub::make ('Codeception\Lib\ModuleContainer ' );
1919 $ this ->module = new \Codeception \Module \UniversalFramework ($ container );
2020 $ this ->module ->_initialize ();
2121 }
@@ -85,9 +85,9 @@ public function testMoveBackThrowsExceptionIfNumberOfStepsIsInvalid()
8585
8686 public function testCreateSnapshotOnFail ()
8787 {
88- $ container = \ Codeception \ Util \ Stub::make ('Codeception\Lib\ModuleContainer ' );
88+ $ container = Stub::make ('Codeception\Lib\ModuleContainer ' );
8989 $ module = Stub::construct (get_class ($ this ->module ), [$ container ], [
90- '_savePageSource ' => \ Codeception \ Stub \Expected::once (function ($ filename ) {
90+ '_savePageSource ' => Stub \Expected::once (function ($ filename ) {
9191 $ this ->assertEquals (codecept_log_dir ('Codeception.Module.UniversalFramework.looks.like..test.fail.html ' ), $ filename );
9292 }),
9393 ]);
You can’t perform that action at this time.
0 commit comments