update tests

This commit is contained in:
Andre Staltz 2024-01-14 13:08:47 +02:00
parent aee242981f
commit 4b10d13862
No known key found for this signature in database
GPG Key ID: 9EDE23EA7E8A4890
1 changed files with 4 additions and 4 deletions

View File

@ -93,21 +93,21 @@ test('getMsgPurpose', async (t) => {
const post1 = await p(alice.db.feed.publish)({
account: aliceID,
domain: 'post',
domain: 'posts',
data: { text: 'm1' },
})
const post2 = await p(alice.db.feed.publish)({
account: aliceID,
domain: 'post',
domain: 'posts',
data: { text: 'm2' },
})
const post3 = await p(alice.db.feed.publish)({
account: aliceID,
domain: 'post',
domain: 'posts',
data: { text: 'm3' },
})
const feedID = alice.db.feed.getID(aliceID, 'post')
const feedID = alice.db.feed.getID(aliceID, 'posts')
alice.goals.set(feedID, 'all')
const gottenGoal = alice.goals.get(feedID)