Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
f60ee55a
Commit
f60ee55a
authored
7 years ago
by
Greg Messner
Browse files
Options
Download
Email Patches
Plain Diff
Fixed test for createFile() and deleteFile().
parent
44837b9a
main
5.0.x
5.0.x.jdk17
6.x
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/test/java/org/gitlab4j/api/TestRepositoryApi.java
+1
-4
src/test/java/org/gitlab4j/api/TestRepositoryApi.java
with
1 addition
and
4 deletions
+1
-4
src/test/java/org/gitlab4j/api/TestRepositoryApi.java
+
1
-
4
View file @
f60ee55a
...
...
@@ -214,13 +214,10 @@ public class TestRepositoryApi {
}
@Test
public
void
testCreateAndDeleteFile
()
throws
GitLabApiException
{
public
void
testCreate
File
AndDeleteFile
()
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
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets