Skip to content

Commit 41fee77

Browse files
author
Renato Marinho
committed
sqlite to tests
1 parent ec03004 commit 41fee77

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

config/database.php

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -64,20 +64,12 @@
6464

6565
'connections' => [
6666

67-
'testing' => [
68-
'driver' => 'mysql',
69-
'host' => env('DB_HOST', 'localhost'),
70-
'port' => env('DB_PORT', '3306'),
71-
'database' => env('DB_DATABASE'),
72-
'username' => env('DB_USERNAME'),
73-
'password' => env('DB_PASSWORD'),
74-
'charset' => 'utf8',
75-
'collation' => 'utf8_unicode_ci',
67+
'sqlite' => [
68+
'driver' => 'sqlite',
69+
'database' => ':memory:',
7670
'prefix' => '',
77-
'strict' => true,
78-
'engine' => null,
7971
],
80-
72+
8173
'mysql' => [
8274
'driver' => 'mysql',
8375
'host' => env('DB_HOST', 'localhost'),

0 commit comments

Comments
 (0)