Create a gist now

Instantly share code, notes, and snippets.

Using an in-memory SQLite for functional testing in Laravel 4
<?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