From 2ac7e242b69c238bb3a227fa2e2183459b0d2318 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 15 Apr 2019 01:03:57 +0900 Subject: Fix test --- test/note.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/note.ts') diff --git a/test/note.ts b/test/note.ts index 7a05930eae..45c016ca76 100644 --- a/test/note.ts +++ b/test/note.ts @@ -161,7 +161,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); @@ -169,7 +169,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); -- cgit v1.2.3-freya