diff --git a/packages/backend/test/api-visibility.ts b/packages/backend/test/api-visibility.ts index 3e453f8ee..0cde9ec35 100644 --- a/packages/backend/test/api-visibility.ts +++ b/packages/backend/test/api-visibility.ts @@ -165,7 +165,7 @@ describe('API visibility', () => { // specified it('[show] specified post can be seen by author', async(async () => { const res = await show(spe.id, alice); - assert.strictEqual(res.status, 404); + assert.strictEqual(res.body.text, 'x'); })); it('[show] specified post can be seen by designated user', async(async () => { @@ -279,11 +279,6 @@ describe('API visibility', () => { assert.strictEqual(res.body.text, 'x'); })); - it('[show] specified-replyをされた人が指定されてなくても見れる', async(async () => { - const res = await show(speR.id, target); - assert.strictEqual(res.body.text, 'x'); - })); - it('[show] specified reply is hidden from follower', async(async () => { const res = await show(speR.id, follower); assert.strictEqual(res.status, 404);