From 1fce213d611c3df530dd47006e5ec9303254ba29 Mon Sep 17 00:00:00 2001 From: Ali Sasani Date: Thu, 19 Sep 2024 21:50:45 +0330 Subject: [PATCH] [test] fix test --- src/ModuleManifest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ModuleManifest.php b/src/ModuleManifest.php index be7aee5b..b5eb6914 100644 --- a/src/ModuleManifest.php +++ b/src/ModuleManifest.php @@ -181,7 +181,7 @@ public function registerFiles(): void public function getModulesData(): Collection { - if (! empty(self::$manifestData)) { + if (! empty(self::$manifestData) && ! app()->runningUnitTests()) { return self::$manifestData; }