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)
1808
1808
$ hooks .= $ steps ;
1809
1809
if ($ type === 'after ' ) {
1810
1810
$ hooks .= "\t\t" . 'if ($this->isSuccess) { ' . "\n" ;
1811
- // $hooks .= "\t\t\t" . 'unlink(__FILE__);' . "\n";
1811
+ $ hooks .= "\t\t\t" . 'unlink(__FILE__); ' . "\n" ;
1812
1812
$ hooks .= "\t\t" . '} ' . "\n" ;
1813
1813
}
1814
1814
$ hooks .= "\t} \n\n" ;
@@ -1848,7 +1848,7 @@ private function generateTestPhp($test)
1848
1848
} else {
1849
1849
$ skipString .= "No issues have been specified. " ;
1850
1850
}
1851
- // $steps = "\t\t" . 'unlink(__FILE__);' . "\n";
1851
+ $ steps = "\t\t" . 'unlink(__FILE__); ' . "\n" ;
1852
1852
$ steps .= "\t\t" . '$scenario->skip(" ' . $ skipString . '"); ' . "\n" ;
1853
1853
$ dependencies .= ', \Codeception\Scenario $scenario ' ;
1854
1854
}
@@ -1868,8 +1868,6 @@ private function generateTestPhp($test)
1868
1868
$ testPhp .= "\t} \n" ;
1869
1869
}
1870
1870
1871
- echo $ testPhp ;
1872
- exit ;
1873
1871
return $ testPhp ;
1874
1872
}
1875
1873
You can’t perform that action at this time.
0 commit comments