mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50: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
|
@ -486,7 +486,7 @@ describe Admin::UsersController do
|
|||
|
||||
context ".invite_admin" do
|
||||
it 'should invite admin' do
|
||||
Jobs.expects(:enqueue).with(:user_email, anything).returns(true)
|
||||
Jobs.expects(:enqueue).with(:critical_user_email, anything).returns(true)
|
||||
xhr :post, :invite_admin, name: 'Bill', username: 'bill22', email: 'bill@bill.com'
|
||||
expect(response).to be_success
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue