summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAkihiko Odaki <nekomanma@pixiv.co.jp>2018-04-02 21:57:36 +0900
committerAkihiko Odaki <nekomanma@pixiv.co.jp>2018-04-02 22:00:40 +0900
commit319e905bf9e5398cb62eaeee7da80ff6e942c094 (patch)
tree5d0edf01e29d7904bf4b82d57ff60754741ce100 /test
parentImplement Follow activity (diff)
downloadmisskey-319e905bf9e5398cb62eaeee7da80ff6e942c094.tar.gz
misskey-319e905bf9e5398cb62eaeee7da80ff6e942c094.tar.bz2
misskey-319e905bf9e5398cb62eaeee7da80ff6e942c094.zip
Introduce followed log and following log
Diffstat (limited to 'test')
-rw-r--r--test/api.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/api.js b/test/api.js
index 9627308362..98d3f2faf2 100644
--- a/test/api.js
+++ b/test/api.js
@@ -609,20 +609,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()
- });
- const res = await request('/following/create', {
- userId: hima._id.toString()
- }, me);
- res.should.have.status(204);
- }));
-
it('既にフォローしている場合は怒る', async(async () => {
const hima = await insertHimawari();
const me = await insertSakurako();