summaryrefslogtreecommitdiffstats
path: root/toolkit/modules/tests/xpcshell/test_UpdateUtils_updatechannel.js
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/modules/tests/xpcshell/test_UpdateUtils_updatechannel.js')
-rw-r--r--toolkit/modules/tests/xpcshell/test_UpdateUtils_updatechannel.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolkit/modules/tests/xpcshell/test_UpdateUtils_updatechannel.js b/toolkit/modules/tests/xpcshell/test_UpdateUtils_updatechannel.js
index 81db867ba4..2dc4654492 100644
--- a/toolkit/modules/tests/xpcshell/test_UpdateUtils_updatechannel.js
+++ b/toolkit/modules/tests/xpcshell/test_UpdateUtils_updatechannel.js
@@ -25,6 +25,7 @@ add_task(async function test_updatechannel() {
Assert.equal(UpdateUtils.getUpdateChannel(true), currentChannel);
Assert.equal(UpdateUtils.getUpdateChannel(false), currentChannel);
+ defaultPrefs.unlock(PREF_APP_UPDATE_CHANNEL);
defaultPrefs.set(PREF_APP_UPDATE_CHANNEL, TEST_CHANNEL);
Assert.equal(UpdateUtils.UpdateChannel, TEST_CHANNEL);
Assert.equal(UpdateUtils.getUpdateChannel(true), TEST_CHANNEL);