From 7bb057652fac4bdb6e1e5d13fbfde83f69a5bd1c Mon Sep 17 00:00:00 2001 From: penginn-net <121443048+penginn-net@users.noreply.github.com> Date: Mon, 4 Nov 2024 16:46:00 +0900 Subject: [PATCH] fix-test --- packages/backend/test/e2e/search-notes.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/backend/test/e2e/search-notes.ts b/packages/backend/test/e2e/search-notes.ts index 089b3f326d..8eb9ee7150 100644 --- a/packages/backend/test/e2e/search-notes.ts +++ b/packages/backend/test/e2e/search-notes.ts @@ -785,7 +785,7 @@ describe('検索', () => { const rres5 = await api('notes/reactions/create', { reaction: '❤', - noteId: noteSearchableByPrivate.id, + noteId: noteSearchableByNull.id, }, alice); assert.strictEqual(rres.status, 204); @@ -812,10 +812,10 @@ describe('検索', () => { noteId: noteSearchableByPublic.id, }, alice); const rdres2 = await api('notes/reactions/delete', { - noteId: noteSearchableByFollowersAndReacted.id, + noteId: noteSearchableByReacted.id, }, alice); const rdres3 = await api('notes/reactions/delete', { - noteId: noteSearchableByReacted.id, + noteId: noteSearchableByFollowersAndReacted.id, }, alice); const rdres4 = await api('notes/reactions/delete', { noteId: noteSearchableByPrivate.id,