Skip to content

Commit

Permalink
corrected a couple of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftkey committed Oct 7, 2016
1 parent 1431306 commit f928940
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Octokit.Tests.Integration/Clients/GitHubClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f928940

Please sign in to comment.