From 1a347ae9a094ec7949818e45edf6342089a57a35 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 3 Apr 2018 15:32:53 +0900 Subject: [PATCH] Test: Remove needless test --- test/api.ts | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/test/api.ts b/test/api.ts index c794869e4..953c5aea0 100644 --- a/test/api.ts +++ b/test/api.ts @@ -669,24 +669,6 @@ describe('API', () => { res.should.have.status(204); })); - it('過去にフォロー歴があった状態でフォロー解除できる', async(async () => { - const hima = await insertHimawari(); - const me = await insertSakurako(); - await db.get('following').insert({ - followeeId: hima._id, - followerId: me._id, - deletedAt: new Date() - }); - await db.get('following').insert({ - followeeId: hima._id, - followerId: me._id - }); - const res = await request('/following/delete', { - userId: hima._id.toString() - }, me); - res.should.have.status(204); - })); - it('フォローしていない場合は怒る', async(async () => { const hima = await insertHimawari(); const me = await insertSakurako();