mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 18:51:07 +08:00
DEV: Take 2 Queue jobs in tests by default.
On my machine this cuts the time taken to run our test suite from ~11mins to ~9mins.
This commit is contained in:
@ -5,6 +5,7 @@ describe User do
|
||||
let(:profile_page_url) { "#{Discourse.base_url}/users/#{user.username}" }
|
||||
|
||||
before do
|
||||
SiteSetting.queue_jobs = false
|
||||
SiteSetting.discourse_narrative_bot_enabled = true
|
||||
end
|
||||
|
||||
@ -78,7 +79,6 @@ describe User do
|
||||
describe 'when welcome message is configured to be delayed' do
|
||||
before do
|
||||
SiteSetting.discourse_narrative_bot_welcome_post_delay = 100
|
||||
SiteSetting.queue_jobs = true
|
||||
end
|
||||
|
||||
it 'should delay the welcome post until user logs in' do
|
||||
|
Reference in New Issue
Block a user