summaryrefslogtreecommitdiff
path: root/test/note.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-04-15 01:03:57 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-04-15 01:03:57 +0900
commit2ac7e242b69c238bb3a227fa2e2183459b0d2318 (patch)
treefe9add98b07c88f63372d5f966e5bb862994ac05 /test/note.ts
parentUpdate CHANGELOG.md (diff)
downloadsharkey-2ac7e242b69c238bb3a227fa2e2183459b0d2318.tar.gz
sharkey-2ac7e242b69c238bb3a227fa2e2183459b0d2318.tar.bz2
sharkey-2ac7e242b69c238bb3a227fa2e2183459b0d2318.zip
Fix test
Diffstat (limited to 'test/note.ts')
-rw-r--r--test/note.ts4
1 files changed, 2 insertions, 2 deletions
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);