We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
LazilyRefreshDatabase
1 parent ef9d0e4 commit 4578193Copy full SHA for 4578193
composer.json
@@ -8,7 +8,7 @@
8
"php": "^7.3|^8.0",
9
"fruitcake/laravel-cors": "^2.0",
10
"guzzlehttp/guzzle": "^7.0.1",
11
- "laravel/framework": "^8.54",
+ "laravel/framework": "^8.62",
12
"laravel/sanctum": "^2.11",
13
"laravel/tinker": "^2.5"
14
},
tests/Feature/ExampleTest.php
@@ -2,7 +2,6 @@
2
3
namespace Tests\Feature;
4
5
-use Illuminate\Foundation\Testing\RefreshDatabase;
6
use Tests\TestCase;
7
class ExampleTest extends TestCase
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;
}
0 commit comments