Skip to content

Commit

Permalink
Don't do this when running the test suite either.
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Oct 31, 2024
1 parent 3d64a75 commit 4065b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/ImportController.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ private function ensureJobBatchesTableExists(): bool
return true;
}

if (app()->isProduction()) {
if (app()->runningUnitTests() || app()->isProduction()) {
return false;
}

Expand Down

0 comments on commit 4065b4e

Please sign in to comment.