Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix
Browse files Browse the repository at this point in the history
penginn-net committed Nov 4, 2024
1 parent 7bb0576 commit 6e0ded2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/backend/test/e2e/search-notes.ts
Original file line number Diff line number Diff line change
@@ -801,12 +801,12 @@ describe('検索', () => {
assert.strictEqual(res.status, 200);

const noteIds = res.body.map( x => x.id);
assert.strictEqual(noteIds.includes(noteSearchableByNull.id), false);
assert.strictEqual(noteIds.includes(noteSearchableByNull.id), true);
assert.strictEqual(noteIds.includes(noteSearchableByPrivate.id), false);
assert.strictEqual(noteIds.includes(noteSearchableByPublic.id), true);
assert.strictEqual(noteIds.includes(noteSearchableByFollowersAndReacted.id), true);
assert.strictEqual(noteIds.includes(noteSearchableByReacted.id), true);
assert.strictEqual(noteIds.length, 3);
assert.strictEqual(noteIds.length, 4);

const rdres = await api('notes/reactions/delete', {
noteId: noteSearchableByPublic.id,

0 comments on commit 6e0ded2

Please sign in to comment.