mirror of
https://github.com/wassname/talk.git
synced 2026-07-20 12:40:47 +08:00
Fix changeStatus
This commit is contained in:
@@ -140,7 +140,7 @@ describe('User: models', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('should not still disable and ban the user if there is no comment', () => {
|
||||
it('should still disable and ban the user if there is no comment', () => {
|
||||
return User
|
||||
.setStatus(mockUsers[0].id, 'banned', '')
|
||||
.then(() => {
|
||||
|
||||
Reference in New Issue
Block a user