summaryrefslogtreecommitdiffstats
path: root/t/007util.t
diff options
context:
space:
mode:
Diffstat (limited to 't/007util.t')
-rw-r--r--t/007util.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/007util.t b/t/007util.t
index 5fc02d52c..dad5dfb02 100644
--- a/t/007util.t
+++ b/t/007util.t
@@ -35,7 +35,7 @@ BEGIN {
# We need to override user preferences so we can get an expected value when
# Bugzilla::Util::format_time() calls ask for the 'timezone' user preference.
-Bugzilla->user->settings->{'timezone'}->{'value'} = "local";
+Bugzilla->user->{'settings'}->{'timezone'}->{'value'} = "local";
# We need to know the local timezone for the date chosen in our tests.
# Below, tests are run against Nov. 24, 2002.