From 3ac8236dbfa5ca5df3a47f6ae4f70ffffbdab09d Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Wed, 29 Sep 2021 10:28:46 +0100 Subject: [PATCH] Uses `LazilyRefreshDatabase` by default --- composer.json | 2 +- tests/Feature/ExampleTest.php | 1 - tests/TestCase.php | 3 ++- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 4f6a92801fa..6d78e9c0ae2 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "php": "^7.3|^8.0", "fruitcake/laravel-cors": "^2.0", "guzzlehttp/guzzle": "^7.0.1", - "laravel/framework": "^8.54", + "laravel/framework": "^8.62", "laravel/sanctum": "^2.11", "laravel/tinker": "^2.5" }, diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.php index 4ae02bc5172..0894c608d49 100644 --- a/tests/Feature/ExampleTest.php +++ b/tests/Feature/ExampleTest.php @@ -2,7 +2,6 @@ namespace Tests\Feature; -use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; class ExampleTest extends TestCase diff --git a/tests/TestCase.php b/tests/TestCase.php index 2932d4a69d6..d665b2a8776 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -2,9 +2,10 @@ namespace Tests; +use Illuminate\Foundation\Testing\LazilyRefreshDatabase; use Illuminate\Foundation\Testing\TestCase as BaseTestCase; abstract class TestCase extends BaseTestCase { - use CreatesApplication; + use CreatesApplication, LazilyRefreshDatabase; }