|
@@ -22,7 +22,7 @@ RSpec.describe ::Sequencer::Sequence::Import::Zendesk::Ticket::Comment, sequence
|
|
|
'id' => 31_964_468_581,
|
|
|
'type' => 'Comment',
|
|
|
'author_id' => 1_150_734_731,
|
|
|
- 'html_body' => "<div class=\"zd-comment\" dir=\"auto\"><p dir=\"auto\">This is the latest comment for this ticket. You also changed the ticket status to Pending.</p><span style=\"opacity: 1;\"><img src=\"#{inline_image_url}\"></span></div>",
|
|
|
+ 'html_body' => "<div class=\"zd-comment\" dir=\"auto\"><p dir=\"auto\">This is the latest comment for this ticket. You also changed the ticket status to Pending.</p><span style=\"opacity: 1;\"><img src=\"#{inline_image_url}\"></span><a href=\"/agent/tickets/1\" rel=\"ticket\">#1</a></p></div>",
|
|
|
'public' => true,
|
|
|
'attachments' => [
|
|
|
{
|
|
@@ -87,7 +87,7 @@ RSpec.describe ::Sequencer::Sequence::Import::Zendesk::Ticket::Comment, sequence
|
|
|
{
|
|
|
from: 'john.doe@example.com',
|
|
|
to: 'zendesk@example.com',
|
|
|
- body: "\n<div dir=\"auto\">\n<p dir=\"auto\">This is the latest comment for this ticket. You also changed the ticket status to Pending.</p>\n<span><img src=\"data:image/png;base64,MTIz\"></span>\n</div>\n",
|
|
|
+ body: "\n<div dir=\"auto\">\n<p dir=\"auto\">This is the latest comment for this ticket. You also changed the ticket status to Pending.</p>\n<span><img src=\"data:image/png;base64,MTIz\"></span><a href=\"/#ticket/zoom/1\" rel=\"ticket\">#1</a>\n</div>\n",
|
|
|
created_at: Time.zone.parse('2018-09-28T12:00:00Z'),
|
|
|
updated_at: Time.zone.parse('2018-09-28T12:00:00Z'),
|
|
|
}
|