From dcd0728b191bedbb9ad284246ceba68bb205b95e Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 20 Mar 2024 11:56:30 -0500 Subject: [PATCH] EventsDB: fix domain test --- src/storages/events-db.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storages/events-db.test.ts b/src/storages/events-db.test.ts index f488f46..713c94f 100644 --- a/src/storages/events-db.test.ts +++ b/src/storages/events-db.test.ts @@ -40,7 +40,7 @@ Deno.test('query events with domain search filter', async () => { .execute(); assertEquals(await eventsDB.query([{ kinds: [1], search: 'domain:localhost:8000' }]), [event1]); - assertEquals(await eventsDB.query([{ kinds: [1], search: '' }]), []); + assertEquals(await eventsDB.query([{ kinds: [1], search: 'domain:example.com' }]), []); }); Deno.test('delete events', async () => {