mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
code style fix
add command tests
This commit is contained in:
@ -13,7 +13,7 @@ public function definition(): array
|
||||
'type' => 'database',
|
||||
'interval' => '0 * * * *',
|
||||
'keep_backups' => 10,
|
||||
'status' => BackupStatus::RUNNING
|
||||
'status' => BackupStatus::RUNNING,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use App\Enums\LogType;
|
||||
use App\Models\ServerLog;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -20,7 +20,7 @@ public function definition(): array
|
||||
'status' => 'ready',
|
||||
'progress' => '100',
|
||||
'php_version' => '8.2',
|
||||
'branch' => 'main'
|
||||
'branch' => 'main',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
@ -4,7 +4,6 @@
|
||||
|
||||
use App\Models\SshKey;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
use Illuminate\Support\Carbon;
|
||||
|
||||
class SshKeyFactory extends Factory
|
||||
{
|
||||
|
Reference in New Issue
Block a user