mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 22:46:16 +00:00
20 lines
386 B
PHP
20 lines
386 B
PHP
<?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');
|
|
}
|
|
}
|