Browse Source

Fix linting

pull/2809/head
Rachael Booth 7 months ago
parent
commit
3c6fca1184
  1. 6
      db/seeds.rb

6
db/seeds.rb

@ -9,11 +9,11 @@
def find_or_create_user(organisation, email, role)
case role
when :data_provider
FactoryBot.create(:user, :if_unique, :data_provider, email: , organisation: , password: ENV["REVIEW_APP_USER_PASSWORD"])
FactoryBot.create(:user, :if_unique, :data_provider, email:, organisation:, password: ENV["REVIEW_APP_USER_PASSWORD"])
when :data_coordinator
FactoryBot.create(:user, :if_unique, :data_coordinator, :data_protection_officer, :with_dsa, email: , organisation: , password: ENV["REVIEW_APP_USER_PASSWORD"])
FactoryBot.create(:user, :if_unique, :data_coordinator, :data_protection_officer, :with_dsa, email:, organisation:, password: ENV["REVIEW_APP_USER_PASSWORD"])
when :support
FactoryBot.create(:user, :if_unique, :support, email: , organisation: , password: ENV["REVIEW_APP_USER_PASSWORD"])
FactoryBot.create(:user, :if_unique, :support, email:, organisation:, password: ENV["REVIEW_APP_USER_PASSWORD"])
end
end

Loading…
Cancel
Save