Skip to content

Commit e314aac

Browse files
committed
test: update test
1 parent 752f036 commit e314aac

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/backend/test/e2e/clips.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ describe('クリップ', () => {
909909
assert.deepStrictEqual(res.map(x => x.id), [aliceNote.id]);
910910
});
911911

912-
test('はPublicなクリップなら認証なしでも取得できる。(非公開ノートはhideされて返ってくる)', async () => {
912+
test('はPublicなクリップなら認証なしでも取得できる。(非公開ノートは含まれない)', async () => {
913913
const publicClip = await create({ isPublic: true });
914914
await addNote({ clipId: publicClip.id, noteId: aliceNote.id });
915915
await addNote({ clipId: publicClip.id, noteId: aliceHomeNote.id });
@@ -919,8 +919,6 @@ describe('クリップ', () => {
919919
const res = await notes({ clipId: publicClip.id }, { user: undefined });
920920
const expects = [
921921
aliceNote, aliceHomeNote,
922-
// 認証なしだと非公開ノートは結果には含むけどhideされる。
923-
hiddenNote(aliceFollowersNote), hiddenNote(aliceSpecifiedNote),
924922
];
925923
assert.deepStrictEqual(
926924
res.sort(compareBy(s => s.id)).map(x => x.id),

0 commit comments

Comments
 (0)