Bug 972070 - followup to address review comments previously missed. r=jedp

This commit is contained in:
Mark Hammond 2014-03-03 10:28:30 +11:00
parent 808272323f
commit a971dd5975

View File

@ -507,7 +507,7 @@ add_test(function test_resend_email() {
log.debug("Alice signing in");
// We're polling for the first email
do_check_neq(fxa.internal.currentAccountState, initialState);
do_check_true(fxa.internal.currentAccountState !== initialState);
let aliceState = fxa.internal.currentAccountState;
// The polling timer is ticking
@ -524,7 +524,7 @@ add_test(function test_resend_email() {
do_check_eq(result, "alice's session token");
// Timer was not restarted
do_check_eq(fxa.internal.currentAccountState, aliceState);
do_check_true(fxa.internal.currentAccountState === aliceState);
// Timer is still ticking
do_check_true(fxa.internal.currentTimer > 0);