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 postTitleTooShort = 'xx'
let postTitleTooLong = ''
for (let i = 0; i < 65; i++) {
for (let i = 0; i < 101; i++) {
postTitleTooLong += 'x'
}
const postContent = 'this is a post'

View File

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