fixed tests
This commit is contained in:
parent
ea3dd0f615
commit
3a6ca82b26
|
|
@ -41,6 +41,6 @@ trait Cloud
|
|||
// @deprecated 3.1
|
||||
public function isCloud()
|
||||
{
|
||||
return request()->isCloud();
|
||||
return request()->isCloudHost();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
"software",
|
||||
"online"
|
||||
],
|
||||
"license": "BSL",
|
||||
"license": "BUSL-1.1",
|
||||
"type": "project",
|
||||
"require": {
|
||||
"php": "^8.1",
|
||||
|
|
|
|||
Loading…
Reference in New Issue