From 8c20f23dfd66b48c931d0624eae8d8304e05f4ff Mon Sep 17 00:00:00 2001 From: "Ralph J. Smit" <59207045+ralphjsmit@users.noreply.github.com> Date: Tue, 19 Jul 2022 14:27:27 +0200 Subject: [PATCH] Update Pest.php --- tests/Pest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Pest.php b/tests/Pest.php index 6dd8799..b7e4f35 100644 --- a/tests/Pest.php +++ b/tests/Pest.php @@ -11,10 +11,10 @@ | */ -use Tests\Fixtures\ApiCall; +use Illuminate\Foundation\Testing\LazilyRefreshDatabase; use Illuminate\Support\Facades\App; use Illuminate\Support\Facades\Http; -use Illuminate\Foundation\Testing\LazilyRefreshDatabase; +use Tests\Fixtures\ApiCall; uses(Tests\TestCase::class, LazilyRefreshDatabase::class) ->beforeEach(fn () => Http::preventStrayRequests()) @@ -23,7 +23,7 @@ uses(Tests\TestCase::class, LazilyRefreshDatabase::class) // Enable the API for the API-tests. uses() ->beforeEach(fn () => enableApi()) - ->in(__DIR__ . '/Unit/Http/Controllers/Api'); + ->in(__DIR__ . '/Feature/Http/Controllers/Api'); /* |--------------------------------------------------------------------------