mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: change 'max_consecutive_replies' default to 3
This commit is contained in:
@@ -595,7 +595,7 @@ posting:
|
|||||||
locale_default:
|
locale_default:
|
||||||
ja: true
|
ja: true
|
||||||
max_consecutive_replies:
|
max_consecutive_replies:
|
||||||
default: 0
|
default: 3
|
||||||
title_prettify:
|
title_prettify:
|
||||||
default: true
|
default: true
|
||||||
locale_default:
|
locale_default:
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ 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
|
||||||
@@ -162,6 +163,9 @@ 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