Explorar o código

Update UserEmails acceptance tests to use the new POST-based email deletion endpoint.

Paulo Reis %!s(int64=8) %!d(string=hai) anos
pai
achega
80b7641652
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      services/web/test/acceptance/coffee/UserEmailsTests.coffee

+ 2 - 2
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) =>