From f60ee55a548dfad9b4ed2bc08b8dafd7a8332004 Mon Sep 17 00:00:00 2001 From: Greg Messner Date: Tue, 10 Oct 2017 21:29:36 -0700 Subject: [PATCH] Fixed test for createFile() and deleteFile(). --- src/test/java/org/gitlab4j/api/TestRepositoryApi.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/test/java/org/gitlab4j/api/TestRepositoryApi.java b/src/test/java/org/gitlab4j/api/TestRepositoryApi.java index 15c9d8e4..e81fb25e 100644 --- a/src/test/java/org/gitlab4j/api/TestRepositoryApi.java +++ b/src/test/java/org/gitlab4j/api/TestRepositoryApi.java @@ -214,13 +214,10 @@ public class TestRepositoryApi { } @Test - public void testCreateAndDeleteFile() throws GitLabApiException { + public void testCreateFileAndDeleteFile() throws GitLabApiException { Project project = gitLabApi.getProjectApi().getProject(TEST_NAMESPACE, TEST_PROJECT_NAME); assertNotNull(project); - - Branch branch = gitLabApi.getRepositoryApi().createBranch(project.getId(), TEST_BRANCH_NAME, "master"); - assertNotNull(branch); RepositoryFile file = new RepositoryFile(); file.setFilePath(TEST_FILEPATH); -- GitLab