Skip to content

Commit

Permalink
fix: dont clear in testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangjchandler committed Mar 29, 2021
1 parent 72bf760 commit cf30928
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Commands/ClearCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ class ClearCommand extends Command

public function handle()
{
if (Orbit::isTesting()) {
return 0;
}

$path = Orbit::getDatabasePath();

if (! file_exists($path)) {
Expand Down

0 comments on commit cf30928

Please sign in to comment.