mirror of
https://github.com/archtechx/tenancy.git
synced 2026-05-06 21:44:06 +00:00
Validate SQLite DB names in create/deleteDatabase()
Also stop skipping the validation test for sqlite.
This commit is contained in:
parent
d5087d19c5
commit
db03997339
2 changed files with 13 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue