Skip to content

Commit

Permalink
DEV: Replace deprecated min_trust_to_create_post (#93)
Browse files Browse the repository at this point in the history
In discourse/discourse#24740, `min_trust_to_create_topic` site setting was replaced by `create_topic_allowed_groups`. This PR replaces the former, deprecated one, with the latter.
  • Loading branch information
lis2 authored Dec 14, 2023
1 parent 1017b35 commit 094a2c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/plugin_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require "rails_helper"

describe DiscourseAlgolia do
fab!(:user) { Fabricate(:user) }
fab!(:user) { Fabricate(:user, refresh_auto_groups: true) }
fab!(:admin) { Fabricate(:admin) }
fab!(:post) { Fabricate(:post, post_number: 1) }
fab!(:post_2) { Fabricate(:post, topic: post.topic, post_number: 2) }
Expand Down

0 comments on commit 094a2c8

Please sign in to comment.