2021-06-01 12:20:20 +00:00
|
|
|
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
|
|
|
|
|
2018-12-05 10:43:53 +00:00
|
|
|
FactoryBot.define do
|
|
|
|
factory :user_device do
|
2019-03-27 09:01:36 +00:00
|
|
|
user_id { 1 }
|
|
|
|
name { 'test 1' }
|
|
|
|
location { 'some location' }
|
|
|
|
user_agent { 'some user agent' }
|
|
|
|
ip { '127.0.0.1' }
|
|
|
|
sequence(:fingerprint) { |n| "fingerprint#{n}" }
|
2018-12-05 10:43:53 +00:00
|
|
|
end
|
|
|
|
end
|