summaryrefslogtreecommitdiff
path: root/services/sync/tests/unit/test_service_login.js
diff options
context:
space:
mode:
Diffstat (limited to 'services/sync/tests/unit/test_service_login.js')
-rw-r--r--services/sync/tests/unit/test_service_login.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/sync/tests/unit/test_service_login.js b/services/sync/tests/unit/test_service_login.js
index 2ecb0a377b..52ee5e63ab 100644
--- a/services/sync/tests/unit/test_service_login.js
+++ b/services/sync/tests/unit/test_service_login.js
@@ -183,7 +183,7 @@ add_test(function test_login_on_sync() {
// This test exercises these two branches.
_("We're ready to sync if locked.");
- Service.enabled = true;
+ Svc.Prefs.set("enabled", true);
Services.io.offline = false;
Service.scheduler.checkSyncStatus();
do_check_true(scheduleCalled);