activity_stream.rb 367 B

1234567891011121314
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. FactoryBot.define do
  3. factory :activity_stream do
  4. transient do
  5. o { Ticket.first }
  6. end
  7. type factory: %i[type_lookup]
  8. activity_stream_object_id { ObjectLookup.by_name(o.class.name) }
  9. o_id { o.id }
  10. created_by_id { 1 }
  11. end
  12. end