mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-21 01:12:14 +00:00
34 lines
679 B
PHP
34 lines
679 B
PHP
<?php
|
|
|
|
namespace Tests\Feature\App;
|
|
|
|
use App\Services\SetupService;
|
|
use Illuminate\Foundation\Testing\DatabaseMigrations;
|
|
use Illuminate\Foundation\Testing\RefreshDatabase;
|
|
use Illuminate\Foundation\Testing\WithFaker;
|
|
use Tests\TestCase;
|
|
|
|
class AppTest extends TestCase
|
|
{
|
|
use DatabaseMigrations;
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
$this->setup = app()->make(SetupService::class);
|
|
}
|
|
|
|
/**
|
|
* @test
|
|
*/
|
|
public function it_get_index_page()
|
|
{
|
|
$this->setup->seed_default_pages();
|
|
|
|
$this->setup->seed_default_settings('Extended');
|
|
|
|
$this->get('/')
|
|
->assertStatus(200);
|
|
}
|
|
}
|