update tests

This commit is contained in:
Riley Davis
2017-01-12 15:25:36 -07:00
parent 44b41b031e
commit 0eefd3364b
8 changed files with 25 additions and 11 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ router.post('/', wordlist.filter('body'), (req, res, next) => {
if (charCountEnable && body.length > charCount) {
return 'rejected';
}
return moderation === 'pre' ? 'premod' : '';
return moderation === 'pre' ? 'premod' : null;
});
}