modreports: log modaction when report is handled or rejected.
This commit is contained in:
@@ -254,6 +254,7 @@ class CommentsControllerTest < ActionDispatch::IntegrationTest
|
||||
assert_equal(true, @comment.reload.is_deleted)
|
||||
assert_equal(true, report1.reload.handled?)
|
||||
assert_equal(true, report2.reload.rejected?)
|
||||
assert_equal(1, ModAction.moderation_report_handled.where(creator: @mod).count)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user