2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-01-23 17:15:42 +01:00
|
|
|
FactoryBot.define do
|
2016-01-21 17:06:09 +01:00
|
|
|
factory :france_connect_information do
|
2019-07-31 16:56:39 +02:00
|
|
|
given_name { 'Angela Claire Louise' }
|
|
|
|
family_name { 'DUBOIS' }
|
|
|
|
gender { 'female' }
|
2018-09-04 16:46:48 +02:00
|
|
|
birthdate { '1976-02-24' }
|
|
|
|
france_connect_particulier_id { '1234567' }
|
|
|
|
email_france_connect { 'plip@octo.com' }
|
2021-04-16 14:32:36 +02:00
|
|
|
|
|
|
|
trait :with_user do
|
|
|
|
user { build(:user, email: email_france_connect) }
|
|
|
|
end
|
2016-01-21 17:06:09 +01:00
|
|
|
end
|
|
|
|
end
|