mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-05 18:23:48 +00:00
31 lines
685 B
PHP
31 lines
685 B
PHP
<?php
|
|
namespace Tests;
|
|
|
|
use Carbon\Carbon;
|
|
use Illuminate\Support\Facades\Storage;
|
|
use Illuminate\Support\Facades\Notification;
|
|
use Domain\SetupWizard\Services\SetupService;
|
|
use Illuminate\Foundation\Testing\DatabaseMigrations;
|
|
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
|
|
|
|
abstract class TestCase extends BaseTestCase
|
|
{
|
|
use CreatesApplication;
|
|
use DatabaseMigrations;
|
|
|
|
public function setUp(): void
|
|
{
|
|
parent::setUp();
|
|
|
|
Carbon::setTestNow('1. January 2021');
|
|
|
|
Notification::fake();
|
|
|
|
Storage::fake('local');
|
|
|
|
resolve(SetupService::class)->create_directories();
|
|
|
|
//$this->withoutExceptionHandling();
|
|
}
|
|
}
|