diff options
| author | syuilo⭐️ <Syuilotan@yahoo.co.jp> | 2017-02-10 00:22:40 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-10 00:22:40 +0900 |
| commit | 8c9ae6e8cf4a7dc6c77d37d040375cf98c4c08cc (patch) | |
| tree | a9b2a9a46ca26f0f2592099ae7c701362b040021 /test/api.js | |
| parent | Update code.js (diff) | |
| download | misskey-8c9ae6e8cf4a7dc6c77d37d040375cf98c4c08cc.tar.gz misskey-8c9ae6e8cf4a7dc6c77d37d040375cf98c4c08cc.tar.bz2 misskey-8c9ae6e8cf4a7dc6c77d37d040375cf98c4c08cc.zip | |
Fix test
Diffstat (limited to 'test/api.js')
| -rw-r--r-- | test/api.js | 4 |
1 files 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); |