mirror of
https://gh.wpcy.net/https://github.com/aspirepress/AspireCloud.git
synced 2026-05-31 00:04:27 +08:00
19 lines
450 B
PHP
19 lines
450 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
use Illuminate\Foundation\Testing\RefreshDatabase;
|
|
use Illuminate\Support\Facades\Http;
|
|
use Illuminate\Support\Facades\Storage;
|
|
use Tests\TestCase;
|
|
|
|
require_once __DIR__.'/elasticMock.php';
|
|
|
|
pest()
|
|
->extend(TestCase::class)
|
|
->use(RefreshDatabase::class)
|
|
->beforeEach(function () {
|
|
Storage::fake('s3');
|
|
Http::preventStrayRequests();
|
|
$this->withoutVite();
|
|
})
|
|
->in('Feature');
|