Skip to content

Commit

Permalink
Fix visibility test (#4031)
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 authored and syuilo committed Jan 29, 2019
1 parent 7fbfd17 commit 1ca0976
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/api-visibility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,9 +302,9 @@ describe('API visibility', () => {
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);
expect(res.body).have.property('text').eql('x');
expect(res.body).have.property('isHidden').eql(true);
}));

it('[show] followers-replyをフォロワーが見れる', async(async () => {
Expand Down Expand Up @@ -434,9 +434,9 @@ describe('API visibility', () => {
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);
expect(res.body).have.property('text').eql('@target x');
expect(res.body).have.property('isHidden').eql(true);
}));

it('[show] followers-mentionをフォロワーが見れる', async(async () => {
Expand Down

0 comments on commit 1ca0976

Please sign in to comment.