mirror of
https://github.com/wassname/talk.git
synced 2026-08-15 12:55:10 +08:00
Fixer pre/post
This commit is contained in:
@@ -7,7 +7,7 @@ describe('services.UsersService', () => {
|
||||
|
||||
let mockUsers;
|
||||
beforeEach(() => {
|
||||
const settings = {id: '1', moderation: 'pre', wordlist: {banned: ['bad words'], suspect: ['suspect words']}};
|
||||
const settings = {id: '1', moderation: 'PRE', wordlist: {banned: ['bad words'], suspect: ['suspect words']}};
|
||||
|
||||
return SettingsService.init(settings).then(() => {
|
||||
return UsersService.createLocalUsers([{
|
||||
|
||||
Reference in New Issue
Block a user