From 627477fc4efa5d40d3176e93d52b051d03f511eb Mon Sep 17 00:00:00 2001 From: narayana-plivo Date: Mon, 1 Oct 2018 15:29:27 +0530 Subject: [PATCH] null type order changed --- src/Plivo/Resource/Message/MessageInterface.cs | 2 +- tests/Plivo.Test/Resources/TestMessage.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Plivo/Resource/Message/MessageInterface.cs b/src/Plivo/Resource/Message/MessageInterface.cs index 14c2a9a4..6e69e013 100644 --- a/src/Plivo/Resource/Message/MessageInterface.cs +++ b/src/Plivo/Resource/Message/MessageInterface.cs @@ -35,7 +35,7 @@ public MessageInterface(HttpClient client) : base(client) /// trackable. /// powerpackUUID public MessageCreateResponse Create( - List dst, string text, string type = null,string src = null, + List dst, string text, string src = null, string type = null, string url = null, string method = null, bool? log = null, bool? trackable = null, string powerpack_uuid = null) { diff --git a/tests/Plivo.Test/Resources/TestMessage.cs b/tests/Plivo.Test/Resources/TestMessage.cs index 2af99958..3c5bddc9 100644 --- a/tests/Plivo.Test/Resources/TestMessage.cs +++ b/tests/Plivo.Test/Resources/TestMessage.cs @@ -38,8 +38,8 @@ public void TestMessageCreate() Assert.IsEmpty( ComparisonUtilities.Compare( response, - Api.Message.Create("+919999999999", new List() {"+919898989898", "+919090909090"}, - "textext"))); + Api.Message.Create( new List() {"+919898989898", "+919090909090"}, + "textext", "+919999999999"))); AssertRequest(request); }