<p>Jenkins2 <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/9082">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Joshua Colp: Looks good to me, but someone else must approve
George Joseph: Looks good to me, approved
Jenkins2: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">sendtext: Update enhanced test to use an application content type<br><br>app_sendtext now allows content types other than text/plain so the<br>test for enagnced messaging has been updated to use<br>application/x-asterisk+json.<br><br>Change-Id: I749c7c7b72b41d46220c9dcd0e3368bd57805ed3<br>---<br>M tests/apps/sendtext/enhanced/configs/ast1/extensions.conf<br>M tests/apps/sendtext/enhanced/sipp/message_recv.xml<br>2 files changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/tests/apps/sendtext/enhanced/configs/ast1/extensions.conf b/tests/apps/sendtext/enhanced/configs/ast1/extensions.conf<br>index e600589..22ba40e 100644<br>--- a/tests/apps/sendtext/enhanced/configs/ast1/extensions.conf<br>+++ b/tests/apps/sendtext/enhanced/configs/ast1/extensions.conf<br>@@ -4,7 +4,7 @@<br> exten = sendtext,1,Answer()<br> same = n,Set(SENDTEXT_FROM_DISPLAYNAME=From Someone Else)<br> same = n,Set(SENDTEXT_TO_DISPLAYNAME=To Someone Else)<br>-same = n,Set(SENDTEXT_CONTENT_TYPE=text/json)<br>+same = n,Set(SENDTEXT_CONTENT_TYPE=application/x-asterisk+json)<br> same = n,Set(SENDTEXT_BODY={"foo":666, "bar":"666"})<br> ; The body supplied in the parameter should be ignored.<br> same = n,SendText({"abc":1, "def":"ghi"})<br>diff --git a/tests/apps/sendtext/enhanced/sipp/message_recv.xml b/tests/apps/sendtext/enhanced/sipp/message_recv.xml<br>index a1e10af..cccc7c0 100644<br>--- a/tests/apps/sendtext/enhanced/sipp/message_recv.xml<br>+++ b/tests/apps/sendtext/enhanced/sipp/message_recv.xml<br>@@ -49,7 +49,7 @@<br> <action><br> <ereg regexp="From Someone Else" search_in="hdr" header="From:" check_it="true" assign_to="dummy"/><br> <ereg regexp="To Someone Else" search_in="hdr" header="To:" check_it="true" assign_to="dummy"/><br>- <ereg regexp="text/json" search_in="hdr" header="Content-Type:" check_it="true" assign_to="dummy"/><br>+ <ereg regexp="application/x-asterisk\+json" search_in="hdr" header="Content-Type:" check_it="true" assign_to="dummy"/><br> <ereg regexp="\{\"foo\":666, \"bar\":\"666\"\}" search_in="body" check_it="true" assign_to="dummy"/><br> </action><br> </recv><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/9082">change 9082</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/9082"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: testsuite </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I749c7c7b72b41d46220c9dcd0e3368bd57805ed3 </div>
<div style="display:none"> Gerrit-Change-Number: 9082 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>