Skip to content

Commit 4578193

Browse files
authored
Uses LazilyRefreshDatabase by default (laravel#5696)
1 parent ef9d0e4 commit 4578193

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"php": "^7.3|^8.0",
99
"fruitcake/laravel-cors": "^2.0",
1010
"guzzlehttp/guzzle": "^7.0.1",
11-
"laravel/framework": "^8.54",
11+
"laravel/framework": "^8.62",
1212
"laravel/sanctum": "^2.11",
1313
"laravel/tinker": "^2.5"
1414
},

tests/Feature/ExampleTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Tests\Feature;
44

5-
use Illuminate\Foundation\Testing\RefreshDatabase;
65
use Tests\TestCase;
76

87
class ExampleTest extends TestCase

tests/TestCase.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
namespace Tests;
44

5+
use Illuminate\Foundation\Testing\LazilyRefreshDatabase;
56
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
67

78
abstract class TestCase extends BaseTestCase
89
{
9-
use CreatesApplication;
10+
use CreatesApplication, LazilyRefreshDatabase;
1011
}

0 commit comments

Comments
 (0)