Add tests for moderation reports
Added an HTML render for the new endpoint to get the tests to work. It should probably have had one anyways so this is alright.
This commit is contained in:
5
test/factories/moderation_report.rb
Normal file
5
test/factories/moderation_report.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
FactoryBot.define do
|
||||
factory(:moderation_report) do
|
||||
reason {"xxx"}
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user