Skip to content

Commit

Permalink
resolving merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
slorello89 committed Feb 5, 2020
2 parents e86442c + 28db3ec commit fb1f64a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions Nexmo.Api.Test.Unit/NumberTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public void SearchNumbers()
{
//ARRANGE
var expectedUri = $"{RestUrl}/number/search/?country=US&api_key={ApiKey}&api_secret={ApiSecret}&";

var expectedResponseContent = "{\"count\":177,\"numbers\":[{\"country\":\"US\",\"msisdn\":\"15102694548\",\"type\":\"mobile-lvn\",\"features\":[\"SMS\",\"VOICE\"],\"cost\":\"0.67\"},{\"country\":\"US\",\"msisdn\":\"17088568490\",\"type\":\"mobile-lvn\",\"features\":[\"SMS\",\"VOICE\"],\"cost\":\"0.67\"},{\"country\":\"US\",\"msisdn\":\"17088568491\",\"type\":\"mobile-lvn\",\"features\":[\"SMS\",\"VOICE\"],\"cost\":\"0.67\"},{\"country\":\"US\",\"msisdn\":\"17088568492\",\"type\":\"mobile-lvn\",\"features\":[\"SMS\",\"VOICE\"],\"cost\":\"0.67\"},{\"country\":\"US\",\"msisdn\":\"17088568973\",\"type\":\"mobile-lvn\",\"features\":[\"SMS\",\"VOICE\"],\"cost\":\"0.67\"}]}";
Setup(uri: expectedUri, responseContent: expectedResponseContent);

Expand Down
7 changes: 5 additions & 2 deletions Nexmo.Api.Test.Unit/SmsTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
using System.Collections.Generic;
using System.Web;
using Xunit;


namespace Nexmo.Api.UnitTest
{
public class SMS_test : TestBase
Expand Down Expand Up @@ -76,6 +74,7 @@ public void TestGenerateSignatureMD5()
""concat-part"": ""2"",
""data"": ""abc123"",
<<<<<<< HEAD
<<<<<<< HEAD
<<<<<<< HEAD
""udh"": ""abc123"",
""sig"":""12345""
Expand All @@ -86,6 +85,10 @@ public void TestGenerateSignatureMD5()
""udh"": ""abc123"",
""sig"":""12345""
>>>>>>> Adding full set of signing tests and dlr test
=======
""udh"": ""abc123"",
""sig"":""12345""
>>>>>>> 28db3ecf5166c45a149538c39ee678064e115ae1
}";
var message = JsonConvert.DeserializeObject<SMS.SMSInbound>(request);
var dict = JsonConvert.DeserializeObject<Dictionary<string, string>>(request);
Expand Down

0 comments on commit fb1f64a

Please sign in to comment.