From 47ed9ca2f30f0a1590d017769551011c1071bfe9 Mon Sep 17 00:00:00 2001 From: Rogee Date: Mon, 24 Aug 2026 14:59:02 +0800 Subject: [PATCH] test(HH-615): align release gate contracts (#166) Co-authored-by: Rogee --- backend/internal/handler/api/v1/profile_handler_test.go | 2 +- .../app/javascript/entrypoints/specs/runtimeConfig.spec.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/internal/handler/api/v1/profile_handler_test.go b/backend/internal/handler/api/v1/profile_handler_test.go index 1e4be82c..00136b88 100644 --- a/backend/internal/handler/api/v1/profile_handler_test.go +++ b/backend/internal/handler/api/v1/profile_handler_test.go @@ -933,7 +933,7 @@ func (s *ProfileHandlerTestSuite) TestResendConfirmation_SendsWorkspaceInvitatio assert.Equal(s.T(), "invitation", mail.Kind) assert.Equal(s.T(), "Workspace invitation", mail.Eyebrow) assert.Equal(s.T(), "You're invited to join TestAccount", mail.Heading) - assert.Equal(s.T(), "Inviter Admin invited you to join the TestAccount workspace on Chatwoot.", mail.IntroText) + assert.Equal(s.T(), "Inviter Admin invited you to join the TestAccount workspace on GoChat.", mail.IntroText) assert.Equal(s.T(), "Accept invitation", mail.ActionText) assert.Contains(s.T(), mail.ActionURL, "/app/auth/password/edit?reset_password_token=") assert.Empty(s.T(), mail.ConfirmationToken) diff --git a/frontend/app/javascript/entrypoints/specs/runtimeConfig.spec.js b/frontend/app/javascript/entrypoints/specs/runtimeConfig.spec.js index e7fcac3c..9f131754 100644 --- a/frontend/app/javascript/entrypoints/specs/runtimeConfig.spec.js +++ b/frontend/app/javascript/entrypoints/specs/runtimeConfig.spec.js @@ -11,7 +11,9 @@ const customBrand = { const initializeEntrypoint = filename => { const html = readFileSync(filename, 'utf8'); - const inlineScript = html.match(/