This commit is contained in:
rinsuki 2019-10-25 21:12:06 +09:00
parent 8b61c2603a
commit 482273f47d
1 changed files with 2 additions and 2 deletions

View File

@ -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);