mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
secure default for the 'find_related_post_with_key' site setting
This commit is contained in:
@ -400,7 +400,9 @@ describe Email::Receiver do
|
||||
expect(Topic.last.ordered_posts[-1].post_type).to eq(Post.types[:moderator_action])
|
||||
end
|
||||
|
||||
it "associates email replies using both 'In-Reply-To' and 'References' headers" do
|
||||
it "associates email replies using both 'In-Reply-To' and 'References' headers when 'find_related_post_with_key' is disabled" do
|
||||
SiteSetting.find_related_post_with_key = false
|
||||
|
||||
expect { process(:email_reply_1) }.to change(Topic, :count)
|
||||
|
||||
topic = Topic.last
|
||||
|
Reference in New Issue
Block a user