mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-05 07:52:34 +00:00
Add workers to servers (#547)
This commit is contained in:
@ -6,8 +6,8 @@
|
||||
use App\Enums\ServiceStatus;
|
||||
use App\Facades\SSH;
|
||||
use App\Models\Database;
|
||||
use App\Models\Queue;
|
||||
use App\Models\Service;
|
||||
use App\Models\Worker;
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use Illuminate\Validation\ValidationException;
|
||||
use Tests\TestCase;
|
||||
@ -74,7 +74,7 @@ public function test_cannot_uninstall_supervisor(): void
|
||||
{
|
||||
SSH::fake();
|
||||
|
||||
Queue::factory()->create([
|
||||
Worker::factory()->create([
|
||||
'server_id' => $this->server->id,
|
||||
'site_id' => $this->site->id,
|
||||
]);
|
||||
|
Reference in New Issue
Block a user