mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Make lazy_load_categories setting use groups (#25282)
This allows certain users to test the new feature and avoid disruptions in other's workflows.
This commit is contained in:
@@ -132,7 +132,7 @@ RSpec.describe SiteSerializer do
|
||||
end
|
||||
|
||||
it "does not include categories if lazy_load_categories" do
|
||||
SiteSetting.lazy_load_categories = true
|
||||
SiteSetting.lazy_load_categories_groups = "#{Group::AUTO_GROUPS[:everyone]}"
|
||||
|
||||
serialized = described_class.new(Site.new(guardian), scope: guardian, root: false).as_json
|
||||
|
||||
|
||||
Reference in New Issue
Block a user