mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
refactor: get database dialect from Conf.db.dialect
This commit is contained in:
parent
5412d2a07b
commit
71bdfea317
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ Deno.test("throws a RelayError when querying an event with a large 'kind'", asyn
|
||||||
|
|
||||||
Deno.test(
|
Deno.test(
|
||||||
'query user by NIP-05 search filter',
|
'query user by NIP-05 search filter',
|
||||||
{ ignore: Deno.env.get('DATABASE_URL')?.slice(0, 8) !== 'postgres' },
|
{ ignore: Conf.db.dialect !== 'postgres' },
|
||||||
async () => {
|
async () => {
|
||||||
await using db = await createTestDB();
|
await using db = await createTestDB();
|
||||||
const { store } = db;
|
const { store } = db;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue