File tree 1 file changed +1
-3
lines changed
packages/backend/test/e2e
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -909,7 +909,7 @@ describe('クリップ', () => {
909
909
assert . deepStrictEqual ( res . map ( x => x . id ) , [ aliceNote . id ] ) ;
910
910
} ) ;
911
911
912
- test ( 'はPublicなクリップなら認証なしでも取得できる。(非公開ノートはhideされて返ってくる )' , async ( ) => {
912
+ test ( 'はPublicなクリップなら認証なしでも取得できる。(非公開ノートは含まれない )' , async ( ) => {
913
913
const publicClip = await create ( { isPublic : true } ) ;
914
914
await addNote ( { clipId : publicClip . id , noteId : aliceNote . id } ) ;
915
915
await addNote ( { clipId : publicClip . id , noteId : aliceHomeNote . id } ) ;
@@ -919,8 +919,6 @@ describe('クリップ', () => {
919
919
const res = await notes ( { clipId : publicClip . id } , { user : undefined } ) ;
920
920
const expects = [
921
921
aliceNote , aliceHomeNote ,
922
- // 認証なしだと非公開ノートは結果には含むけどhideされる。
923
- hiddenNote ( aliceFollowersNote ) , hiddenNote ( aliceSpecifiedNote ) ,
924
922
] ;
925
923
assert . deepStrictEqual (
926
924
res . sort ( compareBy ( s => s . id ) ) . map ( x => x . id ) ,
You can’t perform that action at this time.
0 commit comments