Skip to content
Snippets Groups Projects
Unverified Commit a1bc8fa7 authored by zyoshoka's avatar zyoshoka Committed by GitHub
Browse files

test(backend): fix streaming test error when replying to followers-only note (#13618)

parent 539718f6
No related branches found
No related tags found
6 merge requests!556release 2024.5.0,!554prepare for 2024.5, 2nd try,!552prepare for release 2024.5,!516merge from misskey: preparing for release 2024.5.0,!502merge from misskey at end of April,!479more merges from misskey
......@@ -158,19 +158,17 @@ describe('Streaming', () => {
assert.strictEqual(fired, true);
});
/* なんか失敗する
test('フォローしているユーザーの visibility: followers な投稿への返信が流れる', async () => {
const note = await api('notes/create', { text: 'foo', visibility: 'followers' }, kyoko);
const note = await post(kyoko, { text: 'foo', visibility: 'followers' });
const fired = await waitFire(
ayano, 'homeTimeline', // ayano:home
() => api('notes/create', { text: 'bar', visibility: 'followers', replyId: note.body.id }, kyoko), // kyoko posts
() => api('notes/create', { text: 'bar', visibility: 'followers', replyId: note.id }, kyoko), // kyoko posts
msg => msg.type === 'note' && msg.body.userId === kyoko.id && msg.body.reply.text === 'foo',
);
assert.strictEqual(fired, true);
});
*/
test('フォローしているユーザーのフォローしていないユーザーの visibility: followers な投稿への返信が流れない', async () => {
const chitoseNote = await post(chitose, { text: 'followers-only post', visibility: 'followers' });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment