Bug 1029031 - Bustage followup to b77106f50779

Fixed bad patch change that was made before landing. Derp.

--HG--
extra : amend_source : 6d49ce3db4908a75f9c3ec2931ed97fb41e1f9ff
This commit is contained in:
Gregory Szorc 2014-06-25 23:21:23 -07:00
parent aeee093c16
commit a90fdbb993

View File

@ -61,9 +61,10 @@ add_task(function* test_healthreport_search_recording() {
is(newCount, oldCount + 1, "We recorded one new search.");
// We should record the default search engine if Telemetry is enabled.
// Test with disabled first.
let oldTelemetry = Services.prefs.getBoolPref("toolkit.telemetry.enabled");
Services.prefs.setBoolPref("toolkit.telemetry.enabled", true);
m = provider.getMeasurement("engines", 1);
yield provider.collectDailyData();
data = yield m.getValues();