From 4065b4e47e1e85bfe64e097913516378e4558442 Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Thu, 31 Oct 2024 17:43:31 +0000 Subject: [PATCH] Don't do this when running the test suite either. --- src/Http/Controllers/ImportController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/Controllers/ImportController.php b/src/Http/Controllers/ImportController.php index bd2db2f..6eebb41 100644 --- a/src/Http/Controllers/ImportController.php +++ b/src/Http/Controllers/ImportController.php @@ -221,7 +221,7 @@ private function ensureJobBatchesTableExists(): bool return true; } - if (app()->isProduction()) { + if (app()->runningUnitTests() || app()->isProduction()) { return false; }