From 482273f47da36d84467b4bdc70984999817375e1 Mon Sep 17 00:00:00 2001 From: rinsuki <428rinsuki+git@gmail.com> Date: Fri, 25 Oct 2019 21:12:06 +0900 Subject: [PATCH] fix --- test/note.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/note.ts b/test/note.ts index 22b3d0144c..3aa12b5a61 100644 --- a/test/note.ts +++ b/test/note.ts @@ -150,7 +150,7 @@ describe('Note', () => { it('文字数ぎりぎりで怒られない', async(async () => { const post = { - text: '!'.repeat(1000) + text: '!'.repeat(500) }; const res = await request('/notes/create', post, alice); assert.strictEqual(res.status, 200); @@ -158,7 +158,7 @@ describe('Note', () => { it('文字数オーバーで怒られる', async(async () => { const post = { - text: '!'.repeat(1001) + text: '!'.repeat(501) }; const res = await request('/notes/create', post, alice); assert.strictEqual(res.status, 400);