2023-02-22 11:55:31 +11:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2021-06-22 01:07:30 +10:00
|
|
|
Fabricator(:login_activity) do
|
2023-06-11 02:29:01 +10:00
|
|
|
user { Fabricate.build(:user) }
|
2022-06-21 23:16:22 +10:00
|
|
|
authentication_method 'password'
|
|
|
|
success true
|
|
|
|
failure_reason nil
|
|
|
|
ip { Faker::Internet.ip_v4_address }
|
|
|
|
user_agent { Faker::Internet.user_agent }
|
2021-06-22 01:07:30 +10:00
|
|
|
end
|