mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-14 19:04:26 +01:00
refactor: get database dialect from Conf.db.dialect
This commit is contained in:
@@ -220,7 +220,7 @@ Deno.test("throws a RelayError when querying an event with a large 'kind'", asyn
|
||||
|
||||
Deno.test(
|
||||
'query user by NIP-05 search filter',
|
||||
{ ignore: Deno.env.get('DATABASE_URL')?.slice(0, 8) !== 'postgres' },
|
||||
{ ignore: Conf.db.dialect !== 'postgres' },
|
||||
async () => {
|
||||
await using db = await createTestDB();
|
||||
const { store } = db;
|
||||
|
||||
Reference in New Issue
Block a user