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

@ -568,7 +568,6 @@ describe PostsController do
end
it 'allows to create posts in import_mode' do
SiteSetting.queue_jobs = false
NotificationEmailer.enable
post_1 = Fabricate(:post)
user = Fabricate(:user)
@ -783,6 +782,8 @@ describe PostsController do
end
it 'can create a reply to a post' do
SiteSetting.queue_jobs = true
topic = Fabricate(:private_message_post, user: user).topic
post_2 = Fabricate(:private_message_post, user: user, topic: topic)