From 697019c04dfd3e63a51a0f6ccdab5a257b3dc5b3 Mon Sep 17 00:00:00 2001 From: Moslem Deris Date: Sat, 20 Nov 2021 15:20:51 +0330 Subject: [PATCH] Add new laravel feature: Implement `LazilyRefreshDatabase` instead of `RefreshDatabase` (cherry picked from commit d56c4f18632e447d6d3ffd079af14c6fbd149731) --- Abstracts/Tests/PhpUnit/TestCase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Abstracts/Tests/PhpUnit/TestCase.php b/Abstracts/Tests/PhpUnit/TestCase.php index da320986e..f5cb61320 100644 --- a/Abstracts/Tests/PhpUnit/TestCase.php +++ b/Abstracts/Tests/PhpUnit/TestCase.php @@ -9,7 +9,7 @@ use Apiato\Core\Traits\TestsTraits\PhpUnit\TestsRequestHelperTrait; use Apiato\Core\Traits\TestsTraits\PhpUnit\TestsResponseHelperTrait; use Illuminate\Contracts\Console\Kernel; -use Illuminate\Foundation\Testing\RefreshDatabase; +use Illuminate\Foundation\Testing\LazilyRefreshDatabase; use Illuminate\Foundation\Testing\RefreshDatabaseState; use Illuminate\Foundation\Testing\TestCase as LaravelTestCase; @@ -21,7 +21,7 @@ abstract class TestCase extends LaravelTestCase TestsMockHelperTrait, TestsAuthHelperTrait, HashIdTrait, - RefreshDatabase; + LazilyRefreshDatabase; /** * The base URL to use while testing the application.