mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-29 01:18:25 +01:00
Fix visibility test (#4031)
This commit is contained in:
parent
7fbfd17896
commit
1ca0976e85
1 changed files with 4 additions and 4 deletions
|
@ -302,9 +302,9 @@ describe('API visibility', () => {
|
||||||
expect(res.body).have.property('text').eql('x');
|
expect(res.body).have.property('text').eql('x');
|
||||||
}));
|
}));
|
||||||
|
|
||||||
it('[show] followers-replyをされた人がフォロワーでなくても見れる', async(async () => {
|
it('[show] followers-replyを非フォロワーはリプライされていても見れない', async(async () => {
|
||||||
const res = await show(folR.id, target);
|
const res = await show(folR.id, target);
|
||||||
expect(res.body).have.property('text').eql('x');
|
expect(res.body).have.property('isHidden').eql(true);
|
||||||
}));
|
}));
|
||||||
|
|
||||||
it('[show] followers-replyをフォロワーが見れる', async(async () => {
|
it('[show] followers-replyをフォロワーが見れる', async(async () => {
|
||||||
|
@ -434,9 +434,9 @@ describe('API visibility', () => {
|
||||||
expect(res.body).have.property('text').eql('@target x');
|
expect(res.body).have.property('text').eql('@target x');
|
||||||
}));
|
}));
|
||||||
|
|
||||||
it('[show] followers-mentionをされた人がフォロワーでなくても見れる', async(async () => {
|
it('[show] followers-mentionを非フォロワーはメンションされていても見れない', async(async () => {
|
||||||
const res = await show(folM.id, target);
|
const res = await show(folM.id, target);
|
||||||
expect(res.body).have.property('text').eql('@target x');
|
expect(res.body).have.property('isHidden').eql(true);
|
||||||
}));
|
}));
|
||||||
|
|
||||||
it('[show] followers-mentionをフォロワーが見れる', async(async () => {
|
it('[show] followers-mentionをフォロワーが見れる', async(async () => {
|
||||||
|
|
Loading…
Reference in a new issue