tests: fix broken tests.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
FactoryBot.define do
|
||||
factory(:post_disapproval) do
|
||||
user factory: :moderator_user
|
||||
user factory: :approver_user
|
||||
post factory: :post, is_pending: true
|
||||
reason { PostDisapproval::REASONS.sample }
|
||||
message { FFaker::Lorem.sentence }
|
||||
|
||||
Reference in New Issue
Block a user