mirror of
https://github.com/discourse/discourse.git
synced 2026-08-08 04:04:59 -05:00
FEATURE: Display the reason for many reviewable items
Queued Posts and Users will now display a reason why they are in the review queue.
This commit is contained in:
@@ -6,6 +6,7 @@ describe ReviewableUserSerializer do
|
||||
let(:admin) { Fabricate(:admin) }
|
||||
|
||||
it "includes the user fields for review" do
|
||||
SiteSetting.must_approve_users = true
|
||||
Jobs::CreateUserReviewable.new.execute(user_id: user.id)
|
||||
reviewable = Reviewable.find_by(target: user)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user