# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html

successfully_completed:
  webhook: active
  event: logo_published
  state: completed
  request: '<%= { headers: {} }.to_json %>'
  response: '<%= { code: 200, headers: {} }.to_json %>'
  created_at: <%= 1.week.ago %>

unsuccessfully_completed:
  webhook: active
  event: logo_assignment_jz
  state: completed
  request: '<%= { headers: {} }.to_json %>'
  response: '<%= { code: 422, headers: {} }.to_json %>'
  created_at: <%= 1.week.ago + 1.hour %>

errored:
  webhook: active
  event: layout_published
  state: errored
  request: '<%= { headers: {} }.to_json %>'
  response: '<%= { error: "destination_unreachable" }.to_json %>'
  created_at: <%= 1.week.ago %>

pending:
  webhook: active
  event: shipping_closed
  state: pending
  request: null
  response: null
  created_at: <%= 2.day.ago %>

in_progress:
  webhook: active
  event: logo_assignment_km
  state: in_progress
  request: null
  response: null
  created_at: <%= 1.day.ago %>
