Skip to content

Commit

Permalink
AO3-6773 Update invite_request_declined mailer preview
Browse files Browse the repository at this point in the history
  • Loading branch information
amecreate committed Nov 18, 2024
1 parent a71abf5 commit 6d50154
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/mailers/user_mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def invite_request_declined(user_id, total, reason)
@reason = reason
mail(
to: @user.email,
subject: t('user_mailer.invite_request_declined.subject', app_name: ArchiveConfig.APP_SHORT_NAME)
subject: default_i18n_subject(app_name: ArchiveConfig.APP_SHORT_NAME)
)
end

Expand Down
4 changes: 2 additions & 2 deletions features/other_a/invite_request.feature
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ Feature: Invite requests
And the user "user1" enables translated emails
And all emails have been delivered
When as "user1" I request some invites
When as "notuser1" I request some invites
When I view requests as an admin
And as "notuser1" I request some invites
And I view requests as an admin
And I press "Decline All"
Then "user1" should be emailed
And the email should have "Additional invitation request declined" in the subject
Expand Down

0 comments on commit 6d50154

Please sign in to comment.