fix: newPostEditDuration

This commit is contained in:
Baris Usakli
2019-07-30 13:03:01 -04:00
parent 6a289fbac9
commit 2abe244b6e
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@
"initialPostDelay": 10,
"newbiePostDelay": 120,
"postEditDuration": 0,
"newbiePostEditDuration": 3600000,
"newbiePostEditDuration": 3600,
"postDeleteDuration": 0,
"enablePostHistory": 1,
"postCacheSize": 10485760,

View File

@@ -518,7 +518,7 @@ describe('Post\'s', function () {
setTimeout(function () {
socketPosts.edit({ uid: voterUid }, { pid: pid, content: 'edited post content again', title: 'edited title again', tags: ['edited-twice'] }, function (err, data) {
assert.equal(err.message, '[[error:post-edit-duration-expired, 1]]');
meta.config.newbiePostEditDuration = 3600000;
meta.config.newbiePostEditDuration = 3600;
done();
});
}, 1000);