summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2016-03-03 23:29:06 +0100
committerDavid Lawrence <dkl@mozilla.com>2016-03-03 23:29:06 +0100
commit00f9ff644aafd76c170deed627180ba64c935f3b (patch)
treed65000ff09ff4a5789c42aa77aee25ce0685a62b
parent0e72223fc0005c8f4e675db3b535056377124ab2 (diff)
downloadbugzilla-00f9ff644aafd76c170deed627180ba64c935f3b.tar.gz
bugzilla-00f9ff644aafd76c170deed627180ba64c935f3b.tar.xz
Bug 1252735 - test_email_preferences.t selenium test is intermittently failing
- Archiving the test caused test_qa_contact.t to fail due to a bug in the test that relied on the archived test to set a preference to enabled. An accidental side effect. Changing generate_test_data.pl to always add preferences as enabled by default since BMO does not display displayed preferences.
-rw-r--r--qa/config/generate_test_data.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/config/generate_test_data.pl b/qa/config/generate_test_data.pl
index ea4b7479f..9ba851113 100644
--- a/qa/config/generate_test_data.pl
+++ b/qa/config/generate_test_data.pl
@@ -121,7 +121,7 @@ my %user_prefs = (post_bug_submit_action => 'nothing');
foreach my $pref (keys %user_prefs) {
my $value = $user_prefs{$pref};
- Bugzilla::User::Setting::set_default($pref, $value, 0);
+ Bugzilla::User::Setting::set_default($pref, $value, 1);
}
##########################################################################