File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 22
33namespace Tests ;
44
5- use Illuminate \Foundation \Testing \LazilyRefreshDatabase ;
5+ use Illuminate \Foundation \Testing \RefreshDatabase ;
66use Illuminate \Mail \Mailables \Content ;
77use Illuminate \Mail \Mailables \Envelope ;
88use 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 ' );
You can’t perform that action at this time.
0 commit comments