http_log.rb 492 B

1234567891011121314
  1. # Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
  2. FactoryBot.define do
  3. factory :http_log do
  4. direction { 'in' }
  5. facility { 'cti' }
  6. add_attribute(:method) { 'post' }
  7. url { 'https://zammad.fqdn.com/api/v1/integration/cti/log' }
  8. request { { content: 'foo' } }
  9. response { { content: 'bar' } }
  10. created_by_id { 1 }
  11. updated_by_id { 1 }
  12. end
  13. end