1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-05-06 18:04:03 +00:00

Validate SQLite DB names in create/deleteDatabase()

Also stop skipping the validation test for sqlite.
This commit is contained in:
lukinovec 2026-04-29 16:01:49 +02:00
parent d5087d19c5
commit db03997339
2 changed files with 13 additions and 4 deletions

View file

@ -541,10 +541,7 @@ test('partial tenant connection templates get merged into the central connection
});
test('database managers validate sql parameters before using them in statements', function ($driver, $databaseManager) {
// todo@validation passwords. also sqlite?
if ($driver === 'sqlite') {
$this->markTestSkipped('SQLiteDatabaseManager does not use SQL statements.');
}
// todo@validation passwords
config()->set([
"tenancy.database.template_tenant_connection" => $driver,