summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-04-03 15:32:53 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-04-03 15:32:53 +0900
commit1a347ae9a094ec7949818e45edf6342089a57a35 (patch)
tree30de21943f958c794488033e25fc4b6a687ab200 /test
parentClean up (diff)
downloadsharkey-1a347ae9a094ec7949818e45edf6342089a57a35.tar.gz
sharkey-1a347ae9a094ec7949818e45edf6342089a57a35.tar.bz2
sharkey-1a347ae9a094ec7949818e45edf6342089a57a35.zip
Test: Remove needless test
Diffstat (limited to 'test')
-rw-r--r--test/api.ts18
1 files changed, 0 insertions, 18 deletions
diff --git a/test/api.ts b/test/api.ts
index c794869e49..953c5aea0d 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();