Search order shouldn't be guaranteed here

This commit is contained in:
Jackson Harper
2023-10-13 17:53:48 +08:00
parent e5cedc4040
commit c12df2f4d3

View File

@ -1096,8 +1096,6 @@ describe('Article API', () => {
const res = await graphqlRequest(query, authToken).expect(200)
expect(res.body.data.search.pageInfo.totalCount).to.eq(2)
expect(res.body.data.search.edges[0].node.id).to.eq(items[0].id)
expect(res.body.data.search.edges[1].node.id).to.eq(items[1].id)
})
})