mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: New option to always destroy posts. (#11898)
This commit is contained in:
@@ -290,7 +290,7 @@ describe UserDestroyer do
|
||||
before do
|
||||
@post = Fabricate(:post_with_external_links, user: user)
|
||||
TopicLink.extract_from(@post)
|
||||
TopicLink.any_instance.stubs(:internal).returns(true)
|
||||
TopicLink.where(user: user).update_all(internal: true)
|
||||
end
|
||||
|
||||
it "doesn't add ScreenedUrl records" do
|
||||
|
||||
Reference in New Issue
Block a user