diff options
| author | MeiMei <30769358+mei23@users.noreply.github.com> | 2019-01-29 15:16:11 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2019-01-29 15:16:11 +0900 |
| commit | 1ca0976e859a2b97f6c29539d1c7f1ebf14b6200 (patch) | |
| tree | 53fc07e09d9c3577e1841e4965b0a8774256bccb /test | |
| parent | Module 'web-push' as import syntax (#4017) (diff) | |
| download | sharkey-1ca0976e859a2b97f6c29539d1c7f1ebf14b6200.tar.gz sharkey-1ca0976e859a2b97f6c29539d1c7f1ebf14b6200.tar.bz2 sharkey-1ca0976e859a2b97f6c29539d1c7f1ebf14b6200.zip | |
Fix visibility test (#4031)
Diffstat (limited to 'test')
| -rw-r--r-- | test/api-visibility.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/api-visibility.ts b/test/api-visibility.ts index 2b62868ff5..56e72f7cab 100644 --- a/test/api-visibility.ts +++ b/test/api-visibility.ts @@ -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 () => { @@ -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 () => { |