Merge main into perf-186-message-open
This commit is contained in:
@@ -96,7 +96,9 @@ class MailProviderTest {
|
||||
// generic Apple ID sign-in page (issue #153).
|
||||
assertEquals("https://support.apple.com/en-us/102660", MailProvider.ICLOUD.twoFactorHelpUrl)
|
||||
|
||||
// Yahoo gates nothing on two-factor, so it must not grow the extra link.
|
||||
// Yahoo gates nothing on two-factor — reconfirmed directly against Yahoo's own help docs,
|
||||
// which never list two-step verification as a prerequisite for generating an app password
|
||||
// (issue #155) — so it must not grow the extra link.
|
||||
assertNull(MailProvider.YAHOO.twoFactorHelpUrl)
|
||||
}
|
||||
|
||||
@@ -105,6 +107,14 @@ class MailProviderTest {
|
||||
assertEquals("https://support.apple.com/en-us/102654", MailProvider.ICLOUD.appPasswordHelpUrl)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `yahoo app-password help points at Yahoo's step-by-step instructions, not the generic sign-in page`() {
|
||||
assertEquals(
|
||||
"https://my.help.yahoo.com/kb/mail/generate-app-specific-password-sln15241.html",
|
||||
MailProvider.YAHOO.appPasswordHelpUrl,
|
||||
)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `createAccount trims the email and derives a stable id and display name`() {
|
||||
val account = MailProvider.GMAIL.createAccount(" User@Gmail.com ")
|
||||
|
||||
Reference in New Issue
Block a user