Skip to content

Commit

Permalink
Make the search tests less time sensitive.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Theken committed Feb 9, 2017
1 parent b5e7a82 commit b1842cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Postmark.PCL.Tests/ClientMessageSearchingTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class ClientMessageSearchingTests : ClientBaseFixture
{
protected override async Task SetupAsync()
{
_client = new PostmarkDotNet.PostmarkClient(READ_SELENIUM_TEST_SERVER_TOKEN);
_client = new PostmarkClient(READ_SELENIUM_TEST_SERVER_TOKEN, requestTimeoutInSeconds: 60);
await CompletionSource;
}

Expand All @@ -25,7 +25,7 @@ public async void Client_CanSearchOutboundMessages()
var baseList = (await _client.GetOutboundMessagesAsync());

var fromemail = baseList.Messages
.First(k => !String.IsNullOrWhiteSpace(k.From)).From;
.First(k => !string.IsNullOrWhiteSpace(k.From)).From;
var recipient = baseList.Messages.First().Recipients.First();
var tag = "test_tag";
var subject = baseList.Messages.First().Subject;
Expand Down

0 comments on commit b1842cf

Please sign in to comment.