From 80b7641652c66499f9e6949b14a097279e67eb68 Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Mon, 2 Jul 2018 12:31:36 +0100 Subject: [PATCH] Update UserEmails acceptance tests to use the new POST-based email deletion endpoint. --- services/web/test/acceptance/coffee/UserEmailsTests.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/test/acceptance/coffee/UserEmailsTests.coffee b/services/web/test/acceptance/coffee/UserEmailsTests.coffee index 137932e878..256c8a690f 100644 --- a/services/web/test/acceptance/coffee/UserEmailsTests.coffee +++ b/services/web/test/acceptance/coffee/UserEmailsTests.coffee @@ -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) =>