tests: fix broken tests.

This commit is contained in:
evazion
2022-10-30 15:44:45 -05:00
parent eff82c43d2
commit 042863b2a6
5 changed files with 9 additions and 9 deletions

View File

@@ -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 }