Export and Import vito settings (#606)

* Export and Import vito settings

* fix tests
This commit is contained in:
Saeed Vaziry
2025-06-05 17:01:22 +02:00
committed by GitHub
parent 8e8859b305
commit 4e6491a080
11 changed files with 314 additions and 3 deletions

View File

@ -0,0 +1,19 @@
<?php
namespace Feature;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class VitoSettingsTest extends TestCase
{
use RefreshDatabase;
public function test_export_settings(): void
{
$this->actingAs($this->user);
$this->get(route('vito-settings.export'))
->assertDownload('vito-backup-'.date('Y-m-d').'.zip');
}
}