mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:09:00 +08:00
FIX: change 'max_consecutive_replies' default to 3
This commit is contained in:
parent
6a990d4f95
commit
5852fe7975
|
@ -595,7 +595,7 @@ posting:
|
|||
locale_default:
|
||||
ja: true
|
||||
max_consecutive_replies:
|
||||
default: 0
|
||||
default: 3
|
||||
title_prettify:
|
||||
default: true
|
||||
locale_default:
|
||||
|
|
|
@ -60,6 +60,7 @@ end
|
|||
# let's not run seed_fu every test
|
||||
SeedFu.quiet = true if SeedFu.respond_to? :quiet
|
||||
|
||||
SiteSetting.max_consecutive_replies = 0
|
||||
SiteSetting.automatically_download_gravatars = false
|
||||
|
||||
SeedFu.seed
|
||||
|
@ -162,6 +163,9 @@ RSpec.configure do |config|
|
|||
# very expensive IO operations
|
||||
SiteSetting.automatically_download_gravatars = false
|
||||
|
||||
# it makes hard to test
|
||||
SiteSetting.max_consecutive_replies = 0
|
||||
|
||||
Discourse.clear_readonly!
|
||||
Sidekiq::Worker.clear_all
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user