diff --git a/Octokit.Tests/Http/ApiConnectionTests.cs b/Octokit.Tests/Http/ApiConnectionTests.cs index 5f3b7d2271..b41d6cd0a2 100644 --- a/Octokit.Tests/Http/ApiConnectionTests.cs +++ b/Octokit.Tests/Http/ApiConnectionTests.cs @@ -342,7 +342,7 @@ public async Task WhenGetReturnsOkThenBodyAsObjectIsReturned() .Returns(Task.FromResult(response)); var apiConnection = new ApiConnection(connection); - var actualResult = await apiConnection.GetQueuedOperation(queuedOperationUrl, Args.CancellationToken); + var actualResult = await apiConnection.GetQueuedOperation(queuedOperationUrl, CancellationToken.None); Assert.Same(actualResult, result); } @@ -361,7 +361,7 @@ public async Task WhenGetReturnsNoContentThenReturnsEmptyCollection() .Returns(Task.FromResult(response)); var apiConnection = new ApiConnection(connection); - var actualResult = await apiConnection.GetQueuedOperation(queuedOperationUrl, Args.CancellationToken); + var actualResult = await apiConnection.GetQueuedOperation(queuedOperationUrl, CancellationToken.None); Assert.Empty(actualResult); } diff --git a/Octokit.Tests/Octokit.Tests.csproj b/Octokit.Tests/Octokit.Tests.csproj index 17e333d049..c136242846 100644 --- a/Octokit.Tests/Octokit.Tests.csproj +++ b/Octokit.Tests/Octokit.Tests.csproj @@ -31,7 +31,7 @@ - +