summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/update/tests/unit_base_updater/marWrongChannelStage.js
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/mozapps/update/tests/unit_base_updater/marWrongChannelStage.js')
-rw-r--r--toolkit/mozapps/update/tests/unit_base_updater/marWrongChannelStage.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/toolkit/mozapps/update/tests/unit_base_updater/marWrongChannelStage.js b/toolkit/mozapps/update/tests/unit_base_updater/marWrongChannelStage.js
index 4d512fd12a..9aca22df66 100644
--- a/toolkit/mozapps/update/tests/unit_base_updater/marWrongChannelStage.js
+++ b/toolkit/mozapps/update/tests/unit_base_updater/marWrongChannelStage.js
@@ -15,8 +15,7 @@ async function run_test() {
}
const STATE_AFTER_STAGE = STATE_FAILED;
gTestFiles = gTestFilesCompleteSuccess;
- gTestFiles[gTestFiles.length - 2].originalContents =
- UPDATE_SETTINGS_CONTENTS.replace("xpcshell-test", "wrong-channel");
+ setUpdateSettingsUseWrongChannel();
gTestDirs = gTestDirsCompleteSuccess;
setTestFilesAndDirsForFailure();
await setupUpdaterTest(FILE_COMPLETE_MAR, false);