mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-01 15:09:33 +08:00
Update TestCase.php
This commit is contained in:
@@ -62,5 +62,12 @@ abstract class TestCase extends BaseTestCase
|
||||
...$app['config']->get('view.paths'),
|
||||
__DIR__ . '/../resources/views',
|
||||
]);
|
||||
|
||||
$app['config']->set('database.connections.testing', [
|
||||
'driver' => 'sqlite',
|
||||
'database' => ':memory:',
|
||||
'prefix' => '',
|
||||
'foreign_key_constraints' => true,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user