Bug 1532388 - Fix account migration test for imap servers. r+a=mkmelin
authorDaniel Fraser <danielf@linuxmagic.com>
Wed, 29 Jan 2020 14:06:42 -0800
changeset 37008 dabb7f5449ced53a98b069ee96fb965aef887e26
parent 37007 c648464f1f6296e1b1d92b4cb763cc66ac90a961
child 37009 ba318f7e034450d4eae8bd5cb8b13cfd663d9693
push id2548
push userthunderbird@calypsoblue.org
push dateThu, 30 Jan 2020 20:54:16 +0000
treeherdercomm-beta@f6219b04be6d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1532388
Bug 1532388 - Fix account migration test for imap servers. r+a=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"
   );