diff --git a/app/Traits/Cloud.php b/app/Traits/Cloud.php index d0de6a74c..954f7fcd1 100644 --- a/app/Traits/Cloud.php +++ b/app/Traits/Cloud.php @@ -41,6 +41,6 @@ trait Cloud // @deprecated 3.1 public function isCloud() { - return request()->isCloud(); + return request()->isCloudHost(); } } diff --git a/app/Traits/Plans.php b/app/Traits/Plans.php index a3acc180f..c6c5df4c7 100644 --- a/app/Traits/Plans.php +++ b/app/Traits/Plans.php @@ -58,7 +58,7 @@ trait Plans public function getPlanLimitByType($type): object { - if (! config('app.installed')) { + if (! config('app.installed') || (env_is_testing() && app()->runningInConsole())) { $limit = new \stdClass(); $limit->action_status = true; diff --git a/composer.json b/composer.json index ecb738776..fdd258697 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "software", "online" ], - "license": "BSL", + "license": "BUSL-1.1", "type": "project", "require": { "php": "^8.1",