Commit f60ee55a authored by Greg Messner's avatar Greg Messner
Browse files

Fixed test for createFile() and deleteFile().

parent 44837b9a
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment