diff --git a/Octokit.Tests.Integration/Clients/GitHubClientTests.cs b/Octokit.Tests.Integration/Clients/GitHubClientTests.cs index 8674c5740e..7526afc763 100644 --- a/Octokit.Tests.Integration/Clients/GitHubClientTests.cs +++ b/Octokit.Tests.Integration/Clients/GitHubClientTests.cs @@ -68,7 +68,7 @@ public async Task CanRetrieveLastApiInfoAcceptedOauth() var result = github.GetLastApiInfo(); Assert.True(result.Links.Count == 0); - Assert.True(result.AcceptedOauthScopes.Count > 0); + Assert.True(result.AcceptedOauthScopes.Count == 0); Assert.True(result.OauthScopes.Count > 0); Assert.False(string.IsNullOrEmpty(result.Etag)); Assert.True(result.RateLimit.Limit > 0); diff --git a/Octokit.Tests.Integration/Clients/IssuesEventsClientTests.cs b/Octokit.Tests.Integration/Clients/IssuesEventsClientTests.cs index b888049112..94f5112b0f 100644 --- a/Octokit.Tests.Integration/Clients/IssuesEventsClientTests.cs +++ b/Octokit.Tests.Integration/Clients/IssuesEventsClientTests.cs @@ -217,7 +217,7 @@ public async Task CanListIssueEventsForARepository() Assert.NotNull(reopened1); // close issue2 - var closed2 = _issuesClient.Update(_context.RepositoryOwner, _context.RepositoryName, issue2.Number, new IssueUpdate { State = ItemState.Closed }); + var closed2 = await _issuesClient.Update(_context.RepositoryOwner, _context.RepositoryName, issue2.Number, new IssueUpdate { State = ItemState.Closed }); Assert.NotNull(closed2); var issueEvents = await _issuesEventsClient.GetAllForRepository(_context.RepositoryOwner, _context.RepositoryName);