File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/Magento/FunctionalTestingFramework/Util Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1808,7 +1808,7 @@ private function generateHooksPhp($hookObjects)
18081808 $ hooks .= $ steps ;
18091809 if ($ type === 'after ' ) {
18101810 $ hooks .= "\t\t" . 'if ($this->isSuccess) { ' . "\n" ;
1811- // $hooks .= "\t\t\t" . 'unlink(__FILE__);' . "\n";
1811+ $ hooks .= "\t\t\t" . 'unlink(__FILE__); ' . "\n" ;
18121812 $ hooks .= "\t\t" . '} ' . "\n" ;
18131813 }
18141814 $ hooks .= "\t} \n\n" ;
@@ -1848,7 +1848,7 @@ private function generateTestPhp($test)
18481848 } else {
18491849 $ skipString .= "No issues have been specified. " ;
18501850 }
1851- // $steps = "\t\t" . 'unlink(__FILE__);' . "\n";
1851+ $ steps = "\t\t" . 'unlink(__FILE__); ' . "\n" ;
18521852 $ steps .= "\t\t" . '$scenario->skip(" ' . $ skipString . '"); ' . "\n" ;
18531853 $ dependencies .= ', \Codeception\Scenario $scenario ' ;
18541854 }
@@ -1868,8 +1868,6 @@ private function generateTestPhp($test)
18681868 $ testPhp .= "\t} \n" ;
18691869 }
18701870
1871- echo $ testPhp ;
1872- exit ;
18731871 return $ testPhp ;
18741872 }
18751873
You can’t perform that action at this time.
0 commit comments