diff --git a/browserid/tests/forgotten-email-test.js b/browserid/tests/forgotten-email-test.js index ecbdb4c7d85b0ee80f6ffb9903d101dfcb8f1638..1a7d015476b3ec4076256c9fe4f3ace339a597f5 100755 --- a/browserid/tests/forgotten-email-test.js +++ b/browserid/tests/forgotten-email-test.js @@ -18,7 +18,7 @@ interceptor.onEmail = function(newtok) { token = newtok; }; // create a new account via the api with (first address) suite.addBatch({ "stage first account": { - topic: wsapi.get('/wsapi/stage_user', { + topic: wsapi.post('/wsapi/stage_user', { email: 'first@fakeemail.com', pass: 'firstfakepass', pubkey: 'fakepubkey', @@ -112,7 +112,7 @@ suite.addBatch({ // just re-registering the user. suite.addBatch({ "re-stage first account": { - topic: wsapi.get('/wsapi/stage_user', { + topic: wsapi.post('/wsapi/stage_user', { email: 'first@fakeemail.com', pass: 'secondfakepass', pubkey: 'fakepubkey2',