Uses LazilyRefreshDatabase by default (#5696)

This commit is contained in:
Nuno Maduro 2021-09-29 14:20:24 +01:00 committed by GitHub
parent ef9d0e4c78
commit 4578193d52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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"
},

View File

@ -2,7 +2,6 @@
namespace Tests\Feature;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class ExampleTest extends TestCase

View File

@ -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;
}