mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-04 15:50:52 +00:00
Fixed a broken test
This commit is contained in:
@@ -53,10 +53,8 @@ public class GHContentIntegrationTest extends AbstractGitHubApiTestBase {
|
||||
|
||||
@Test
|
||||
public void testCRUDContent() throws Exception {
|
||||
;
|
||||
GHContentUpdateResponse created =
|
||||
repo.createContent("this is an awesome file I created\n", "Creating a file for integration tests.", createdFilename,
|
||||
repo.getFileContent(createdFilename).getSha());
|
||||
repo.createContent("this is an awesome file I created\n", "Creating a file for integration tests.", createdFilename);
|
||||
GHContent createdContent = created.getContent();
|
||||
|
||||
assertNotNull(created.getCommit());
|
||||
|
||||
Reference in New Issue
Block a user