avatar.rb 494 B

1234567891011121314151617
  1. # Copyright (C) 2012-2023 Zammad Foundation, https://zammad-foundation.org/
  2. FactoryBot.define do
  3. factory :avatar do
  4. object_lookup_id { ObjectLookup.by_name('User') }
  5. o_id { 1 }
  6. default { true }
  7. deletable { true }
  8. initial { false }
  9. source { 'init' }
  10. source_url { nil }
  11. created_by_id { 1 }
  12. updated_by_id { 1 }
  13. created_at { Time.zone.now }
  14. updated_at { Time.zone.now }
  15. end
  16. end