2021-06-01 12:20:20 +00:00
|
|
|
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
|
|
|
|
|
2021-02-23 14:52:16 +00:00
|
|
|
FactoryBot.define do
|
|
|
|
factory :webhook do
|
|
|
|
sequence(:name) { |n| "Test webhook #{n}" }
|
2021-03-16 07:25:55 +00:00
|
|
|
endpoint { 'http://example.com/endpoint' }
|
2021-02-23 14:52:16 +00:00
|
|
|
ssl_verify { true }
|
|
|
|
active { true }
|
|
|
|
created_by_id { 1 }
|
|
|
|
updated_by_id { 1 }
|
|
|
|
end
|
|
|
|
end
|