mirror of
https://github.com/wassname/talk.git
synced 2026-07-04 17:06:37 +08:00
address different comment in result
This commit is contained in:
@@ -92,7 +92,7 @@ describe('/api/v1/comments', () => {
|
||||
.then(res => {
|
||||
expect(res).to.have.status(200);
|
||||
expect(res.body.comments).to.have.length(2);
|
||||
expect(res.body.comments[0]).to.have.property('author_id', '456');
|
||||
expect(res.body.comments[1]).to.have.property('author_id', '456');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user