From 8c9ae6e8cf4a7dc6c77d37d040375cf98c4c08cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?syuilo=E2=AD=90=EF=B8=8F?= Date: Fri, 10 Feb 2017 00:22:40 +0900 Subject: [PATCH] Fix test --- test/api.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/api.js b/test/api.js index fc8a84499b..0483339f72 100644 --- a/test/api.js +++ b/test/api.js @@ -289,7 +289,7 @@ describe('API', () => { it('文字数ぎりぎりで怒られない', () => new Promise(async (done) => { const me = await insertSakurako(); const post = { - text: '!'.repeat(500) + text: '!'.repeat(1000) }; request('/posts/create', post, me).then(res => { res.should.have.status(200); @@ -300,7 +300,7 @@ describe('API', () => { it('文字数オーバーで怒られる', () => new Promise(async (done) => { const me = await insertSakurako(); const post = { - text: '!'.repeat(501) + text: '!'.repeat(1001) }; request('/posts/create', post, me).then(res => { res.should.have.status(400);