PM-10616 update copy to match design (#3985)

This commit is contained in:
Dave Severns 2024-09-27 15:58:44 -04:00 committed by GitHub
parent aa6762dc22
commit 72cb9918ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -420,7 +420,7 @@ private fun ReceiveMarketingEmailsSwitch(
@Suppress("MaxLineLength")
val annotatedLinkString = createAnnotatedString(
mainString = stringResource(id = R.string.get_advice_announcements_and_research_opportunities_from_bitwarden_in_your_inbox_unsubscribe_any_time),
mainString = stringResource(id = R.string.get_emails_from_bitwarden_for_announcements_advices_and_research_opportunities_unsubscribe_any_time),
highlights = listOf(unsubscribeString),
tag = TAG_URL,
)

View file

@ -255,7 +255,7 @@ class StartRegistrationScreenTest : BaseComposeTest() {
fun `when unsubscribe custom action invoked should send UnsubscribeMarketingEmailsClick`() {
@Suppress("MaxLineLength")
composeTestRule
.onNodeWithText("Get advice, announcements, and research opportunities from Bitwarden in your inbox. Unsubscribe at any time.")
.onNodeWithText("Get emails from Bitwarden for announcements, advice, and research opportunities. Unsubscribe at any time.")
.performCustomAccessibilityAction("Unsubscribe")
verify { viewModel.trySendAction(StartRegistrationAction.UnsubscribeMarketingEmailsClick) }