code style fix

add command tests
This commit is contained in:
Saeed Vaziry
2023-09-02 16:41:42 +02:00
parent 71f9dabc24
commit e1eb42059f
135 changed files with 1859 additions and 135 deletions

View File

@ -13,7 +13,7 @@ public function definition(): array
'type' => 'database',
'interval' => '0 * * * *',
'keep_backups' => 10,
'status' => BackupStatus::RUNNING
'status' => BackupStatus::RUNNING,
];
}
}

View File

@ -2,7 +2,6 @@
namespace Database\Factories;
use App\Enums\LogType;
use App\Models\ServerLog;
use Illuminate\Database\Eloquent\Factories\Factory;

View File

@ -2,10 +2,8 @@
namespace Database\Factories;
use App\Models\Server;
use App\Models\Service;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Carbon;
class ServiceFactory extends Factory
{

View File

@ -20,7 +20,7 @@ public function definition(): array
'status' => 'ready',
'progress' => '100',
'php_version' => '8.2',
'branch' => 'main'
'branch' => 'main',
];
}
}

View File

@ -4,7 +4,6 @@
use App\Models\SshKey;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Carbon;
class SshKeyFactory extends Factory
{