mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
DEV: move post flags into database (#27125)
This is preparation for a feature that will allow admins to define their custom flags. Current behaviour should stay untouched.
This commit is contained in:

committed by
GitHub

parent
312a930ac8
commit
cfbbfd177c
@ -673,10 +673,7 @@ TEXT
|
||||
end
|
||||
|
||||
describe "#replace_flags" do
|
||||
after do
|
||||
PostActionType.replace_flag_settings(nil)
|
||||
ReviewableScore.reload_types
|
||||
end
|
||||
after { PostActionType.replace_flag_settings(nil) }
|
||||
|
||||
let(:original_flags) { PostActionType.flag_settings }
|
||||
|
||||
|
Reference in New Issue
Block a user