_acs-authentication__auth_confirm_email (private)
_acs-authentication__auth_confirm_email
Defined in packages/acs-authentication/tcl/test/acs-authentication-procs.tcl
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set _aa_export {} set body_count 1 foreach testcase_body {{ set user_id [ad_conn user_id] aa_run_with_teardown -rollback -test_code { db_dml update { update users set email_verified_p = 'f' where user_id = :user_id } acs_user::flush_cache -user_id $user_id aa_equals "email should be not verified" [acs_user::get_element -user_id $user_id -element email_verified_p] "f" auth::set_email_verified -user_id $user_id aa_equals "email should be verified" [acs_user::get_element -user_id $user_id -element email_verified_p] "t" acs_user::flush_cache -user_id $user_id } }} { aa_log "Running testcase body $body_count" set ::__aa_test_indent [info level] set catch_val [catch $testcase_body msg] if {$catch_val != 0 && $catch_val != 2} { aa_log_result "fail" "auth_confirm_email (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle