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 37884 dabb7f5449ced53a98b069ee96fb965aef887e26
parent 37883 c648464f1f6296e1b1d92b4cb763cc66ac90a961
child 37885 ba318f7e034450d4eae8bd5cb8b13cfd663d9693
push id397
push userclokep@gmail.com
push dateMon, 10 Feb 2020 21:16:13 +0000
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"
   );