Skip to content

Commit

Permalink
Empty directory recursively
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyWay committed Mar 7, 2014
1 parent da851cc commit 3025e5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/features/bootstrap/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static function bootstrapLaravel()
*/
public function tearDown()
{
array_map('unlink', glob(base_path('workbench/way/generators/tests/tmp/*')));
\Illuminate\Support\Facades\File::deleteDirectory(base_path('workbench/way/generators/tests/tmp'), true);

$this->tester = null;
}
Expand Down

0 comments on commit 3025e5b

Please sign in to comment.