DEV: Run tests with default value for `max_consecutive_replies` (#6723)
This commit is contained in:
parent
3c9c95ac83
commit
22001b3c50
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue