Skip to content

Commit

Permalink
Ignore tests for the SPAM complaint stats. They are not relevent.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Theken committed Feb 9, 2017
1 parent 08e974f commit b5e7a82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Postmark.PCL.Tests/ClientStatisticsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public async void Client_CanGetOutboundStatisticsOverview()
Assert.Greater(outboundStats.Opens, 0, "Opens should be greater than 0");
Assert.Greater(outboundStats.Sent, 0, "Sent should be greater than 0");
Assert.Greater(outboundStats.SMTPApiErrors, 0, "SMTPApiErrors should be greater than 0");
Assert.Greater(outboundStats.SpamComplaints, 0, "SpamComplaints should be greater than 0");
//FIXME: Nobody complains about our test system, so we can't really test this one.
//Assert.Greater(outboundStats.SpamComplaints, 0, "SpamComplaints should be greater than 0");
//Assert.Greater(outboundStats.SpamComplaintsRate, 0, "SpamComplaintsRate should be greater than 0");
Assert.Greater(outboundStats.Tracked, 0, "Tracked should be greater than 0");
Assert.Greater(outboundStats.UniqueOpens, 0, "UniqueOpens should be greater than 0");
Expand Down Expand Up @@ -88,6 +88,7 @@ public async void Client_CanGetOutboundStatisticsBounceCounts()
}

[TestCase]
[Ignore]
public async void Client_CanGetOutboundStatisticsSpamComplaints()
{
var allOutboundStats = await _client.GetOutboundSpamComplaintCountsAsync();
Expand Down

0 comments on commit b5e7a82

Please sign in to comment.