Skip to content

Commit 5c25852

Browse files
committed
Fix
1 parent 29ac9f2 commit 5c25852

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

tests/TestCase.php

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Tests;
44

5-
use Illuminate\Foundation\Testing\LazilyRefreshDatabase;
5+
use Illuminate\Foundation\Testing\RefreshDatabase;
66
use Illuminate\Mail\Mailables\Content;
77
use Illuminate\Mail\Mailables\Envelope;
88
use Orchestra\Testbench\Concerns\WithWorkbench;
@@ -13,7 +13,7 @@ class TestCase extends \Orchestra\Testbench\TestCase
1313
{
1414
protected $invalid;
1515

16-
use LazilyRefreshDatabase;
16+
use RefreshDatabase;
1717
use WithWorkbench;
1818

1919
public function setUp(): void
@@ -74,15 +74,18 @@ protected function getEnvironmentSetUp($app)
7474
'mysql' => [
7575
'host' => '127.0.0.1',
7676
'port' => 3307,
77+
'database' => 'test',
78+
'username' => 'test',
79+
'password' => 'test',
7780
],
7881
'pgsql' => [
7982
'host' => '127.0.0.1',
8083
'port' => 5432,
84+
'database' => 'test',
85+
'username' => 'test',
86+
'password' => 'test',
8187
],
8288
},
83-
'database' => 'test',
84-
'username' => 'test',
85-
'password' => 'test',
8689
]);
8790

8891
$app['config']->set('mail.driver', 'log');

0 commit comments

Comments
 (0)