Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
51bd50f1
Commit
51bd50f1
authored
Jun 21, 2018
by
Greg Messner
Browse files
Fixed broken test caused by new getRepositoryArchive() methods.
parent
bbb63cb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/java/org/gitlab4j/api/TestRepositoryApi.java
View file @
51bd50f1
...
@@ -164,7 +164,7 @@ public class TestRepositoryApi {
...
@@ -164,7 +164,7 @@ public class TestRepositoryApi {
Project
project
=
gitLabApi
.
getProjectApi
().
getProject
(
TEST_NAMESPACE
,
TEST_PROJECT_NAME
);
Project
project
=
gitLabApi
.
getProjectApi
().
getProject
(
TEST_NAMESPACE
,
TEST_PROJECT_NAME
);
assertNotNull
(
project
);
assertNotNull
(
project
);
File
file
=
gitLabApi
.
getRepositoryApi
().
getRepositoryArchive
(
project
.
getId
(),
"master"
,
null
);
File
file
=
gitLabApi
.
getRepositoryApi
().
getRepositoryArchive
(
project
.
getId
(),
"master"
,
(
File
)
null
);
assertTrue
(
file
.
length
()
>
0
);
assertTrue
(
file
.
length
()
>
0
);
file
.
delete
();
file
.
delete
();
...
...
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