_acs-lang__set_timezone_not_logged_in (private)
_acs-lang__set_timezone_not_logged_in
Defined in packages/acs-lang/tcl/test/acs-lang-test-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] ad_conn -set user_id 0 aa_equals "Fallback to system timezone when no user" [lang::conn::timezone] [lang::system::timezone] set error_p [catch { lang::user::set_timezone [lang::system::timezone] } errmsg] aa_true "Error when setting user timezone when user not logged in" $error_p # Reset the user_id ad_conn -set 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" "set_timezone_not_logged_in (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle