mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +08:00
FIX: add locales for group mention PM variants (#14358)
This commit is contained in:
@ -908,6 +908,20 @@ describe UserNotifications do
|
||||
end
|
||||
end
|
||||
|
||||
describe "group mentioned email" do
|
||||
include_examples "notification email building" do
|
||||
let(:notification_type) { :group_mentioned }
|
||||
let(:post) { Fabricate(:private_message_post) }
|
||||
let(:user) { post.user }
|
||||
let(:mail_type) { "group_mentioned" }
|
||||
let(:mail_template) { "user_notifications.user_#{notification_type}_pm" }
|
||||
|
||||
include_examples "respect for private_email"
|
||||
include_examples "supports reply by email"
|
||||
include_examples "sets user locale"
|
||||
end
|
||||
end
|
||||
|
||||
describe "user replied" do
|
||||
include_examples "notification email building" do
|
||||
let(:notification_type) { :replied }
|
||||
|
Reference in New Issue
Block a user