mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Run tests with default value for max_consecutive_replies (#6723)
This commit is contained in:
@@ -60,7 +60,6 @@ end
|
|||||||
# let's not run seed_fu every test
|
# let's not run seed_fu every test
|
||||||
SeedFu.quiet = true if SeedFu.respond_to? :quiet
|
SeedFu.quiet = true if SeedFu.respond_to? :quiet
|
||||||
|
|
||||||
SiteSetting.max_consecutive_replies = 0
|
|
||||||
SiteSetting.automatically_download_gravatars = false
|
SiteSetting.automatically_download_gravatars = false
|
||||||
|
|
||||||
SeedFu.seed
|
SeedFu.seed
|
||||||
@@ -163,9 +162,6 @@ RSpec.configure do |config|
|
|||||||
# very expensive IO operations
|
# very expensive IO operations
|
||||||
SiteSetting.automatically_download_gravatars = false
|
SiteSetting.automatically_download_gravatars = false
|
||||||
|
|
||||||
# it makes hard to test
|
|
||||||
SiteSetting.max_consecutive_replies = 0
|
|
||||||
|
|
||||||
Discourse.clear_readonly!
|
Discourse.clear_readonly!
|
||||||
Sidekiq::Worker.clear_all
|
Sidekiq::Worker.clear_all
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user