mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
webhooks: Move all fixtures to zerver/webhooks/<webhook_name>/fixtures.
All webhook fixtures in zerver/fixtures/<webhook_name> have now been moved to dedicated webhook-specific directories under zerver/webhooks/<webhook_name>/fixtures, where <webhook_name> is the name of the webhook.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
{"freshdesk_webhook":
|
||||
{
|
||||
"triggered_event":"{ticket_action:created}",
|
||||
"ticket_id":"12",
|
||||
"ticket_url":"http://test1234zzz.freshdesk.com/helpdesk/tickets/12",
|
||||
"ticket_type":"Problem",
|
||||
"ticket_subject":"Not enough ☃ guinea pigs",
|
||||
"ticket_description":"<div>There are too many cat pictures on the internet ☃. We need more guinea pigs. Exhibit 1:</div>\n<div><br></div>\n<div></div>\n<div><img src=\"http://cdn.freshdesk.com/data/helpdesk/attachments/production/12744808/original/guinea_pig.png?1383958880\" class=\"inline-image\" data-id=\"12744808\" style=\"\"></div>\n<br>",
|
||||
"ticket_status":"Open",
|
||||
"ticket_priority":"Urgent",
|
||||
"requester_name":"Requester ☃ Bob",
|
||||
"requester_email":"requester-bob@example.com",
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{"freshdesk_webhook":
|
||||
{
|
||||
"triggered_event":"{priority:{from:3,to:1}}",
|
||||
"ticket_id":"11",
|
||||
"ticket_url":"http://test1234zzz.freshdesk.com/helpdesk/tickets/11",
|
||||
"ticket_type":"Incident",
|
||||
"ticket_subject":"Test ticket subject",
|
||||
"ticket_description":"<div>Test ticket description.</div>",
|
||||
"ticket_status":"Resolved",
|
||||
"ticket_priority":"Low",
|
||||
"requester_name":"Requester Bob",
|
||||
"requester_email":"requester-bob@example.com",
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{"freshdesk_webhook":
|
||||
{
|
||||
"triggered_event":"{note_type:private}",
|
||||
"ticket_id":"11",
|
||||
"ticket_url":"http://test1234zzz.freshdesk.com/helpdesk/tickets/11",
|
||||
"ticket_type":"Incident",
|
||||
"ticket_subject":"Test ticket subject",
|
||||
"ticket_description":"<div>Test ticket description.</div>",
|
||||
"ticket_status":"Open",
|
||||
"ticket_priority":"Medium",
|
||||
"requester_name":"Requester Bob",
|
||||
"requester_email":"requester-bob@example.com",
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{"freshdesk_webhook":
|
||||
{
|
||||
"triggered_event":"{note_type:public}",
|
||||
"ticket_id":"11",
|
||||
"ticket_url":"http://test1234zzz.freshdesk.com/helpdesk/tickets/11",
|
||||
"ticket_type":"Incident",
|
||||
"ticket_subject":"Test ticket subject",
|
||||
"ticket_description":"<div>Test ticket description.</div>",
|
||||
"ticket_status":"Open",
|
||||
"ticket_priority":"Medium",
|
||||
"requester_name":"Requester Bob",
|
||||
"requester_email":"requester-bob@example.com",
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{"freshdesk_webhook":
|
||||
{
|
||||
"triggered_event":"{status:{from:4,to:6}}",
|
||||
"ticket_id":"11",
|
||||
"ticket_url":"http://test1234zzz.freshdesk.com/helpdesk/tickets/11",
|
||||
"ticket_type":"Incident",
|
||||
"ticket_subject":"Test ticket subject ☃",
|
||||
"ticket_description":"<div>Test ticket description ☃.</div>",
|
||||
"ticket_status":"Waiting on Customer",
|
||||
"ticket_priority":"Low",
|
||||
"requester_name":"Requester Bob",
|
||||
"requester_email":"requester-bob@example.com",
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{"freshdesk_webhook":
|
||||
{
|
||||
"triggered_event":"{ticket_action:created}",
|
||||
"ticket_id":"11",
|
||||
"ticket_url":"http://test1234zzz.freshdesk.com/helpdesk/tickets/11",
|
||||
"ticket_type":"Incident",
|
||||
"ticket_subject":"Test ticket subject ☃",
|
||||
"ticket_description":"<div>Test ticket description ☃.</div>",
|
||||
"ticket_status":"Pending",
|
||||
"ticket_priority":"High",
|
||||
"requester_name":"Requester ☃ Bob",
|
||||
"requester_email":"requester-bob@example.com",
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user