mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Update UserEmails acceptance tests to use the new POST-based email deletion endpoint.
This commit is contained in:
parent
04a98c4d91
commit
80b7641652
1 changed files with 2 additions and 2 deletions
|
@ -100,8 +100,8 @@ describe "UserEmails", ->
|
|||
(cb) =>
|
||||
# Delete the email from the first user
|
||||
@user.request {
|
||||
method: 'DELETE',
|
||||
url: '/user/emails',
|
||||
method: 'POST',
|
||||
url: '/user/emails/delete',
|
||||
json: {@email}
|
||||
}, cb
|
||||
(cb) =>
|
||||
|
|
Loading…
Reference in a new issue