Fixed a broken test

This commit is contained in:
Kohsuke Kawaguchi
2018-08-29 20:31:44 -07:00
parent 4f17d3519c
commit cbfe72a76e

View File

@@ -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());