Revert "DEV: Queue jobs in tests by default."

Too risky for now

This reverts commit be28154d3b9289a249d413d462705cd075375888.
This commit is contained in:
Guo Xiang Tan
2018-05-31 15:34:46 +08:00
parent 2b783997fa
commit 56e9ff6853
42 changed files with 79 additions and 75 deletions

View File

@ -1066,7 +1066,6 @@ describe User do
context "with a reply" do
before do
SiteSetting.queue_jobs = false
PostCreator.new(Fabricate(:user),
raw: 'whatever this is a raw post',
topic_id: topic.id,
@ -1238,6 +1237,7 @@ describe User do
describe "refresh_avatar" do
it "enqueues the update_gravatar job when automatically downloading gravatars" do
SiteSetting.automatically_download_gravatars = true
SiteSetting.queue_jobs = true
user = Fabricate(:user)