Skip to content

Commit

Permalink
Fix seeds (#3287)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Orner authored Dec 18, 2022
1 parent 6894b54 commit 58814c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ def random_record_for_org(org, klass)
end

profile = Partners::Profile.create!({
partner_id: p.id,
address1: Faker::Address.street_address,
address2: "",
city: Faker::Address.city,
Expand Down Expand Up @@ -329,7 +330,8 @@ def random_record_for_org(org, klass)
pr = Request.new(
comments: Faker::Lorem.paragraph,
partner: p,
partner_user: p.primary_user
partner_user: p.primary_user,
organization_id: p.organization_id
)

# Ensure that the item requests are valid with
Expand Down

0 comments on commit 58814c5

Please sign in to comment.