Skip to content

Commit cbfe72a

Browse files
committed
Fixed a broken test
1 parent 4f17d35 commit cbfe72a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/test/java/org/kohsuke/github/GHContentIntegrationTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,8 @@ public void testGetDirectoryContentTrailingSlash() throws Exception {
5353

5454
@Test
5555
public void testCRUDContent() throws Exception {
56-
;
5756
GHContentUpdateResponse created =
58-
repo.createContent("this is an awesome file I created\n", "Creating a file for integration tests.", createdFilename,
59-
repo.getFileContent(createdFilename).getSha());
57+
repo.createContent("this is an awesome file I created\n", "Creating a file for integration tests.", createdFilename);
6058
GHContent createdContent = created.getContent();
6159

6260
assertNotNull(created.getCommit());

0 commit comments

Comments
 (0)