From 5bcdf2dc27f40e74537828b4ec374d27e52f4f0c Mon Sep 17 00:00:00 2001 From: Ben Biddington Date: Thu, 19 Dec 2013 15:13:14 +1300 Subject: [PATCH] Expect anything for body since the test is about proving the earl is correct --- Octokit.Tests/Clients/IssueCommentsClientTests.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Octokit.Tests/Clients/IssueCommentsClientTests.cs b/Octokit.Tests/Clients/IssueCommentsClientTests.cs index 1bac6036..06a9ba63 100644 --- a/Octokit.Tests/Clients/IssueCommentsClientTests.cs +++ b/Octokit.Tests/Clients/IssueCommentsClientTests.cs @@ -98,7 +98,7 @@ public class IssueCommentsClientTests client.Create("fake", "repo", 1, newComment); - connection.Received().Post(Arg.Is(u => u.ToString() == "repos/fake/repo/issues/1/comments"), newComment); + connection.Received().Post(Arg.Is(u => u.ToString() == "repos/fake/repo/issues/1/comments"), Arg.Any()); } [Fact] @@ -126,8 +126,7 @@ public class IssueCommentsClientTests client.Update("fake", "repo", 42, issueCommentUpdate); - connection.Received().Patch(Arg.Is(u => u.ToString() == "repos/fake/repo/issues/comments/42"), - issueCommentUpdate); + connection.Received().Patch(Arg.Is(u => u.ToString() == "repos/fake/repo/issues/comments/42"), Arg.Any()); } [Fact]