chore(testing): use sqlite by default

This commit is contained in:
Sami Mazouz 2024-12-06 20:23:17 +01:00
parent 570580dcf0
commit c835bdb59a
No known key found for this signature in database

View File

@ -38,7 +38,7 @@ class SetupScript
public function __construct()
{
$this->driver = getenv('DB_DRIVER') ?: 'mysql';
$this->driver = getenv('DB_DRIVER') ?: 'sqlite';
$this->host = getenv('DB_HOST') ?: 'localhost';
$this->port = intval(getenv('DB_PORT') ?: match ($this->driver) {
'mysql', 'mariadb' => 3306,