mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-15 15:37:36 +00:00
Merge pull request #17182 from overleaf/msm-add-checks-invite-tests
[web] Add extra checks testing invite creation GitOrigin-RevId: ae3d28c94b31ac07a81e006c4c3685c4400e0662
This commit is contained in:
parent
0f05623e16
commit
079a86ec53
1 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,8 @@ const createInvite = (sendingUser, projectId, email, callback) => {
|
|||
return callback(err)
|
||||
}
|
||||
expect(response.statusCode).to.equal(200)
|
||||
expect(body.error).to.not.exist
|
||||
expect(body.invite).to.exist
|
||||
callback(null, body.invite)
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue