mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-14 08:21:21 +00:00
added Authentication Check
Added additional authentication checks on gitHubBeforeAfter so that cleanup is done with a user logged in
This commit is contained in:
@@ -30,7 +30,7 @@ public class GHPullRequestTest extends AbstractGitHubWireMockTest {
|
||||
return;
|
||||
}
|
||||
|
||||
for (GHPullRequest pr : getRepository(this.gitHubBeforeAfter).getPullRequests(GHIssueState.OPEN)) {
|
||||
for (GHPullRequest pr : getRepository(this.getGitHubBeforeAfter()).getPullRequests(GHIssueState.OPEN)) {
|
||||
pr.close();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user