mirror of
https://github.com/wassname/talk.git
synced 2026-08-19 12:40:16 +08:00
Changes field for metadata. Needs to look at this test better.
This commit is contained in:
@@ -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', 'body');
|
||||
|
||||
// expect(action).to.have.property('detail', 'Matched suspect word filters.');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user