mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-04 15:50:52 +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:
@@ -32,7 +32,7 @@ public class GHContentIntegrationTest extends AbstractGitHubWireMockTest {
|
||||
@After
|
||||
public void cleanup() throws Exception {
|
||||
if (mockGitHub.isUseProxy()) {
|
||||
repo = gitHubBeforeAfter.getRepository("github-api-test-org/GHContentIntegrationTest");
|
||||
repo = getGitHubBeforeAfter().getRepository("github-api-test-org/GHContentIntegrationTest");
|
||||
try {
|
||||
GHContent content = repo.getFileContent(createdFilename);
|
||||
if (content != null) {
|
||||
|
||||
Reference in New Issue
Block a user