From 1552c0fe6487f12d77bfc5890eb6651d158cf57e Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 5 Oct 2021 09:23:22 -0500 Subject: [PATCH] Revert "Uses `LazilyRefreshDatabase` by default (#5696)" This reverts commit 4578193d52f148c79b16a552db65e29a65fee209. --- 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 fc3dfc6beb8..3c6d778d1d3 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.62", + "laravel/framework": "^8.54", "laravel/sanctum": "^2.11", "laravel/tinker": "^2.5" }, diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.php index 0894c608d49..4ae02bc5172 100644 --- a/tests/Feature/ExampleTest.php +++ b/tests/Feature/ExampleTest.php @@ -2,6 +2,7 @@ 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 d665b2a8776..2932d4a69d6 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -2,10 +2,9 @@ namespace Tests; -use Illuminate\Foundation\Testing\LazilyRefreshDatabase; use Illuminate\Foundation\Testing\TestCase as BaseTestCase; abstract class TestCase extends BaseTestCase { - use CreatesApplication, LazilyRefreshDatabase; + use CreatesApplication; }