mirror of
https://github.com/discourse/discourse.git
synced 2025-09-10 12:04:21 +08:00
FEATURE: move more urgent emails notifications to critical queue
Move signup, admin login and password change email notifications to critical queue
This commit is contained in:
parent
2ecff60af2
commit
a130cb8305
13 changed files with 25 additions and 26 deletions
|
@ -47,7 +47,7 @@ describe User do
|
|||
it "enqueues a 'signup after approval' email if must_approve_users is true" do
|
||||
SiteSetting.stubs(:must_approve_users).returns(true)
|
||||
Jobs.expects(:enqueue).with(
|
||||
:user_email, has_entries(type: :signup_after_approval)
|
||||
:critical_user_email, has_entries(type: :signup_after_approval)
|
||||
)
|
||||
user.approve(admin)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue