12 lines
481 B
PHP
12 lines
481 B
PHP
<?php
|
|
|
|
use Illuminate\Auth\Access\Gate;
|
|
use Illuminate\Support\Facades\Storage;
|
|
use Workbench\App\Models\Post;
|
|
use Workbench\App\Policies\PostPolicy;
|
|
|
|
uses(Zoomyboy\MedialibraryHelper\Tests\TestCase::class)->in('Feature');
|
|
uses(Illuminate\Foundation\Testing\RefreshDatabase::class)->in('Feature');
|
|
uses()->beforeEach(fn () => Storage::fake('media') && Storage::fake('temp'))->in('Feature');
|
|
uses()->beforeEach(fn () => Gate::policy(Post::class, PostPolicy::class))->in('Feature');
|