Title character increased from 64 to 100

This commit is contained in:
ogerly 2019-10-09 09:09:44 +02:00
parent 49dfc8ac9d
commit 588ca43464
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ describe('ContributionForm.vue', () => {
const postTitle = 'this is a title for a post' const postTitle = 'this is a title for a post'
const postTitleTooShort = 'xx' const postTitleTooShort = 'xx'
let postTitleTooLong = '' let postTitleTooLong = ''
for (let i = 0; i < 65; i++) { for (let i = 0; i < 101; i++) {
postTitleTooLong += 'x' postTitleTooLong += 'x'
} }
const postContent = 'this is a post' const postContent = 'this is a post'

View File

@ -104,7 +104,7 @@ export default {
categoryIds: [], categoryIds: [],
}, },
formSchema: { formSchema: {
title: { required: true, min: 3, max: 64 }, title: { required: true, min: 3, max: 100 },
content: [{ required: true }], content: [{ required: true }],
}, },
id: null, id: null,