diff --git a/resources/static/test/cases/controllers/check_registration.js b/resources/static/test/cases/controllers/check_registration.js index 16fe3dfbea1956815af50d9c164b5dbbb2378171..1aeb870a8ba7fc92ddfcf9122f6849329fd63824 100644 --- a/resources/static/test/cases/controllers/check_registration.js +++ b/resources/static/test/cases/controllers/check_registration.js @@ -47,18 +47,18 @@ controller.startCheck(); } - asyncTest("user validation with mustAuth result", function() { + asyncTest("user validation with mustAuth result - callback with email, type and known set to true", function() { xhr.useResult("mustAuth"); createController("waitForUserValidation"); register("authenticate", function(msg, info) { + // we want the email, type and known all sent back to the caller so that + // this information does not need to be queried again. equal(info.email, "registered@testuser.com", "correct email"); ok(info.type, "type sent with info"); ok(info.known, "email is known"); start(); }); controller.startCheck(); - - testVerifiedUserEvent("authenticate", "User Must Auth"); }); asyncTest("user validation with pending->complete result ~3 seconds", function() {