Bug 1532388 - Fix account migration test for imap servers. r=mkmelin
authorDaniel Fraser <danielf@linuxmagic.com>
Wed, 29 Jan 2020 14:06:42 -0800
changeset 37159 c07c42028c728ccee7938e88b723bde54a1d0347
parent 37158 06b59eceaa1140d367b7972f8d1215d051b6eac9
child 37160 228c1b31448af4c5bf8848bfb5ae50eb1d23b068
push id2552
push userclokep@gmail.com
push dateMon, 10 Feb 2020 21:24:16 +0000
treeherdercomm-beta@f95a6f4408a3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmkmelin
bugs1532388
Bug 1532388 - Fix account migration test for imap servers. r=mkmelin
mailnews/base/test/unit/test_accountMigration.js
--- a/mailnews/base/test/unit/test_accountMigration.js
+++ b/mailnews/base/test/unit/test_accountMigration.js
@@ -37,16 +37,18 @@ function run_test() {
   Services.prefs.setCharPref(
     "mail.accountmanager.accounts",
     "account1,account2,account3"
   );
 
   // Set server1 and server2 username and hostname to test clientid population.
   Services.prefs.setCharPref("mail.server.server1.userName", "testuser1");
   Services.prefs.setCharPref("mail.server.server2.userName", "testuser2");
+  Services.prefs.setCharPref("mail.server.server1.type", "imap");
+  Services.prefs.setCharPref("mail.server.server2.type", "imap");
   Services.prefs.setCharPref(
     "mail.server.server1.hostname",
     "mail.sampledomain1.com"
   );
   Services.prefs.setCharPref(
     "mail.server.server2.hostname",
     "mail.sampledomain2.com"
   );