EventsDB: fix domain test

This commit is contained in:
Alex Gleason 2024-03-20 11:56:30 -05:00
parent ad2261a37e
commit dcd0728b19
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ Deno.test('query events with domain search filter', async () => {
.execute(); .execute();
assertEquals(await eventsDB.query([{ kinds: [1], search: 'domain:localhost:8000' }]), [event1]); 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 () => { Deno.test('delete events', async () => {