mirror of
https://github.com/wassname/talk.git
synced 2026-10-01 12:42:56 +08:00
Fix tests when flagging because suspect word.
This commit is contained in:
1 parent
a02ad69568
commit
5c6df6d481
1 file changed
+3
-2
@@ -225,8 +225,9 @@ describe('/api/v1/comments', () => {
|
||||
let action = actions[0];
|
||||
|
||||
expect(action).to.have.property('item_id', comment.id);
|
||||
expect(action).to.have.property('field', 'body');
|
||||
expect(action).to.have.property('detail', 'Matched suspect word filters.');
|
||||
expect(action).to.have.property('metadata');
|
||||
expect(action.metadata).to.have.property('field', 'body');
|
||||
expect(action.metadata).to.have.property('details', 'Matched suspect word filters.');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user