Skip to content
Snippets Groups Projects
Commit 7aa6010c authored by Alexandru Munteanu's avatar Alexandru Munteanu
Browse files

Merge branch 'master' of gitlab.coko.foundation:xpub/xpub-faraday

parents 4a6e68a6 fff2450e
No related branches found
No related tags found
No related merge requests found
...@@ -179,6 +179,7 @@ describe('Post invite route handler', () => { ...@@ -179,6 +179,7 @@ describe('Post invite route handler', () => {
const data = JSON.parse(res._getData()) const data = JSON.parse(res._getData())
expect(data.email).toEqual(body.email) expect(data.email).toEqual(body.email)
expect(data.invitations[0].collectionId).toEqual(req.params.collectionId) expect(data.invitations[0].collectionId).toEqual(req.params.collectionId)
expect(standardCollection.assignedPeople).toHaveLength(1)
}) })
it('should return success when the handlingEditor invites a reviewer with a collection', async () => { it('should return success when the handlingEditor invites a reviewer with a collection', async () => {
const body = { const body = {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment