Created
May 2, 2014 20:07
-
-
Save adamwathan/459254b8bf210bcaeeca to your computer and use it in GitHub Desktop.
Using an in-memory SQLite for functional testing in Laravel 4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// app/config/testing/database.php | |
return [ | |
'default' => 'sqlite', | |
'connections' => [ | |
'sqlite' => [ | |
'driver' => 'sqlite', | |
'database' => ':memory:', | |
'prefix' => '', | |
] | |
] | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment