Browse Source

fix: correct no-stock user names + update emails to prevent duplicates (#1185)

pull/1202/head
SamSeed-Softwire 2 years ago committed by GitHub
parent
commit
c07dde6794
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      db/seeds.rb

8
db/seeds.rb

@ -110,8 +110,8 @@ unless Rails.env.test?
) )
User.find_or_create_by!( User.find_or_create_by!(
name: "Provider Owns Stock", name: "Provider No Stock",
email: "provider.nostock1@example.com", email: "provider.nostock@example.com",
organisation: standalone_no_stock, organisation: standalone_no_stock,
role: "data_provider", role: "data_provider",
) do |user| ) do |user|
@ -120,8 +120,8 @@ unless Rails.env.test?
end end
User.find_or_create_by!( User.find_or_create_by!(
name: "Coordinator Owns Stock", name: "Coordinator No Stock",
email: "coordinator.nostock1@example.com", email: "coordinator.nostock@example.com",
organisation: standalone_no_stock, organisation: standalone_no_stock,
role: "data_coordinator", role: "data_coordinator",
) do |user| ) do |user|

Loading…
Cancel
Save