diff --git a/Octokit.Tests/Clients/BlobClientTests.cs b/Octokit.Tests/Clients/BlobClientTests.cs index c8cbd98afe..d480473ea7 100644 --- a/Octokit.Tests/Clients/BlobClientTests.cs +++ b/Octokit.Tests/Clients/BlobClientTests.cs @@ -21,8 +21,7 @@ public void RequestsCorrectUrl() client.Get("fake", "repo", "123456ABCD"); - connection.Received().Get(Arg.Is(u => u.ToString() == "repos/fake/repo/git/blobs/123456ABCD"), - null); + connection.Received().Get(Arg.Is(u => u.ToString() == "repos/fake/repo/git/blobs/123456ABCD")); } [Fact] diff --git a/Octokit.Tests/Clients/CommitStatusClientTests.cs b/Octokit.Tests/Clients/CommitStatusClientTests.cs index 45fb5f5bec..c7658c8345 100644 --- a/Octokit.Tests/Clients/CommitStatusClientTests.cs +++ b/Octokit.Tests/Clients/CommitStatusClientTests.cs @@ -54,7 +54,7 @@ public void RequestsCorrectUrl() client.GetCombined("fake", "repo", "sha"); connection.Received() - .Get(Arg.Is(u => u.ToString() == "repos/fake/repo/commits/sha/status"), null); + .Get(Arg.Is(u => u.ToString() == "repos/fake/repo/commits/sha/status")); } [Fact] diff --git a/Octokit.Tests/Clients/CommitsClientTests.cs b/Octokit.Tests/Clients/CommitsClientTests.cs index 299c5441d7..66bebed9bf 100644 --- a/Octokit.Tests/Clients/CommitsClientTests.cs +++ b/Octokit.Tests/Clients/CommitsClientTests.cs @@ -32,7 +32,7 @@ public void RequestsCorrectUrl() client.Get("owner", "repo", "reference"); - connection.Received().Get(Arg.Is(u => u.ToString() == "repos/owner/repo/git/commits/reference"), null); + connection.Received().Get(Arg.Is(u => u.ToString() == "repos/owner/repo/git/commits/reference")); } } diff --git a/Octokit.Tests/Clients/FeedsClientTests.cs b/Octokit.Tests/Clients/FeedsClientTests.cs index e971515208..603e96a7ce 100644 --- a/Octokit.Tests/Clients/FeedsClientTests.cs +++ b/Octokit.Tests/Clients/FeedsClientTests.cs @@ -31,7 +31,7 @@ public void RequestsCorrectUrl() feedsClient.GetFeeds(); - connection.Received().Get(Arg.Is(u => u.ToString() == "feeds"), null); + connection.Received().Get(Arg.Is(u => u.ToString() == "feeds")); } } } diff --git a/Octokit.Tests/Clients/GistCommentsClientTests.cs b/Octokit.Tests/Clients/GistCommentsClientTests.cs index e3f2519352..7689dcc4c0 100644 --- a/Octokit.Tests/Clients/GistCommentsClientTests.cs +++ b/Octokit.Tests/Clients/GistCommentsClientTests.cs @@ -26,7 +26,7 @@ public async Task RequestsCorrectUrl() await client.Get("24", 1337); - connection.Received().Get(Arg.Is(u => u.ToString() == "gists/24/comments/1337"), null); + connection.Received().Get(Arg.Is(u => u.ToString() == "gists/24/comments/1337")); } } diff --git a/Octokit.Tests/Clients/GistsClientTests.cs b/Octokit.Tests/Clients/GistsClientTests.cs index 3c8b5d7f00..a78efd70e7 100644 --- a/Octokit.Tests/Clients/GistsClientTests.cs +++ b/Octokit.Tests/Clients/GistsClientTests.cs @@ -20,7 +20,7 @@ public void RequestsCorrectUrl() client.Get("1"); - connection.Received().Get(Arg.Is(u => u.ToString() == "gists/1"), null); + connection.Received().Get(Arg.Is(u => u.ToString() == "gists/1")); } } diff --git a/Octokit.Tests/Clients/IssueCommentsClientTests.cs b/Octokit.Tests/Clients/IssueCommentsClientTests.cs index b64eb2d804..4b0eb139f1 100644 --- a/Octokit.Tests/Clients/IssueCommentsClientTests.cs +++ b/Octokit.Tests/Clients/IssueCommentsClientTests.cs @@ -20,8 +20,7 @@ public void RequestsCorrectUrl() client.Get("fake", "repo", 42); - connection.Received().Get(Arg.Is(u => u.ToString() == "repos/fake/repo/issues/comments/42"), - null); + connection.Received().Get(Arg.Is(u => u.ToString() == "repos/fake/repo/issues/comments/42")); } [Fact] diff --git a/Octokit.Tests/Clients/IssuesClientTests.cs b/Octokit.Tests/Clients/IssuesClientTests.cs index e477b0fb4a..2f3b759b19 100644 --- a/Octokit.Tests/Clients/IssuesClientTests.cs +++ b/Octokit.Tests/Clients/IssuesClientTests.cs @@ -21,8 +21,7 @@ public void RequestsCorrectUrl() client.Get("fake", "repo", 42); - connection.Received().Get(Arg.Is(u => u.ToString() == "repos/fake/repo/issues/42"), - null); + connection.Received().Get(Arg.Is(u => u.ToString() == "repos/fake/repo/issues/42")); } [Fact] diff --git a/Octokit.Tests/Clients/IssuesEventsClientTests.cs b/Octokit.Tests/Clients/IssuesEventsClientTests.cs index 61c5509730..4249ea521e 100644 --- a/Octokit.Tests/Clients/IssuesEventsClientTests.cs +++ b/Octokit.Tests/Clients/IssuesEventsClientTests.cs @@ -64,8 +64,7 @@ public void RequestsCorrectUrl() client.Get("fake", "repo", 42); - connection.Received().Get(Arg.Is(u => u.ToString() == "repos/fake/repo/issues/events/42"), - null); + connection.Received().Get(Arg.Is(u => u.ToString() == "repos/fake/repo/issues/events/42")); } [Fact] diff --git a/Octokit.Tests/Clients/IssuesLabelsClientTests.cs b/Octokit.Tests/Clients/IssuesLabelsClientTests.cs index 1df54ba9b0..737296b348 100644 --- a/Octokit.Tests/Clients/IssuesLabelsClientTests.cs +++ b/Octokit.Tests/Clients/IssuesLabelsClientTests.cs @@ -67,8 +67,7 @@ public void RequestsCorrectUrl() client.Get("fake", "repo", "label"); - connection.Received().Get