insert(['id' => 0]); $user = User::factory()->create(); $team = $user->teams()->first(); $server = Server::factory()->create([ 'team_id' => $team->id, 'private_key_id' => PrivateKey::factory()->create(['team_id' => $team->id])->id, ]); config()->set('constants.coolify.self_hosted', false); Process::fake(); Queue::fake(); Storage::fake('ssh-keys'); Storage::fake('ssh-mux'); app(ProductionSeeder::class)->run(); expect($server->sslCertificates()->where('is_ca_certificate', true)->exists())->toBeFalse(); Queue::assertNotPushed(CoolifyTask::class); });