mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:11:08 +08:00
Revert "DEV: Queue jobs in tests by default."
Too risky for now This reverts commit be28154d3b9289a249d413d462705cd075375888.
This commit is contained in:
@ -15,6 +15,8 @@ RSpec.describe Admin::UsersController do
|
||||
end
|
||||
|
||||
it 'should able to disable the second factor for another user' do
|
||||
SiteSetting.queue_jobs = true
|
||||
|
||||
expect do
|
||||
put "/admin/users/#{user.id}/disable_second_factor.json"
|
||||
end.to change { Jobs::CriticalUserEmail.jobs.length }.by(1)
|
||||
|
Reference in New Issue
Block a user