mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +08:00
Revert "DEV: Queue jobs in tests by default."
Too risky for now This reverts commit be28154d3b9289a249d413d462705cd075375888.
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user