_acs-authentication__auth_password_get_change_url (private)

 _acs-authentication__auth_password_get_change_url

Defined in packages/acs-authentication/tcl/test/acs-authentication-procs.tcl

Partial Call Graph (max 5 caller/called nodes):
%3 aa_log aa_log (public) aa_log_result aa_log_result (public) aa_true aa_true (public) auth::password::get_change_url auth::password::get_change_url (public) auth::test::get_password_vars auth::test::get_password_vars (private) _acs-authentication__auth_password_get_change_url _acs-authentication__auth_password_get_change_url _acs-authentication__auth_password_get_change_url->aa_log _acs-authentication__auth_password_get_change_url->aa_log_result _acs-authentication__auth_password_get_change_url->aa_true _acs-authentication__auth_password_get_change_url->auth::password::get_change_url _acs-authentication__auth_password_get_change_url->auth::test::get_password_vars

Testcases:
No testcase defined.
Source code:
        
        set _aa_export {}
        set body_count 1
        foreach testcase_body {{

    # Test whether auth::password::get_change_url returns the correct URL to redirect when "change_pwd_url" is set.
    auth::test::get_password_vars -array_name test_vars

    if { [info exists test_vars(user_id)] } {
        set change_pwd_url [auth::password::get_change_url -user_id $test_vars(user_id)]
        aa_true "Check that auth::password::get_change_url returns correct redirect URL when change_pwd_url is not null"  [regexp {password-update} $change_pwd_url]
    }
}} {
          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_password_get_change_url (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo"
          }
          incr body_count
        }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: