File tree 1 file changed +8
-5
lines changed
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace Tests ;
4
4
5
- use Illuminate \Foundation \Testing \LazilyRefreshDatabase ;
5
+ use Illuminate \Foundation \Testing \RefreshDatabase ;
6
6
use Illuminate \Mail \Mailables \Content ;
7
7
use Illuminate \Mail \Mailables \Envelope ;
8
8
use Orchestra \Testbench \Concerns \WithWorkbench ;
@@ -13,7 +13,7 @@ class TestCase extends \Orchestra\Testbench\TestCase
13
13
{
14
14
protected $ invalid ;
15
15
16
- use LazilyRefreshDatabase ;
16
+ use RefreshDatabase ;
17
17
use WithWorkbench;
18
18
19
19
public function setUp (): void
@@ -74,15 +74,18 @@ protected function getEnvironmentSetUp($app)
74
74
'mysql ' => [
75
75
'host ' => '127.0.0.1 ' ,
76
76
'port ' => 3307 ,
77
+ 'database ' => 'test ' ,
78
+ 'username ' => 'test ' ,
79
+ 'password ' => 'test ' ,
77
80
],
78
81
'pgsql ' => [
79
82
'host ' => '127.0.0.1 ' ,
80
83
'port ' => 5432 ,
84
+ 'database ' => 'test ' ,
85
+ 'username ' => 'test ' ,
86
+ 'password ' => 'test ' ,
81
87
],
82
88
},
83
- 'database ' => 'test ' ,
84
- 'username ' => 'test ' ,
85
- 'password ' => 'test ' ,
86
89
]);
87
90
88
91
$ app ['config ' ]->set ('mail.driver ' , 'log ' );
You can’t perform that action at this time.
0 commit comments