Fix test
This commit is contained in:
parent
d8b604a94f
commit
2ac7e242b6
2 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue