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
d054639c
Commit
d054639c
authored
Jul 09, 2019
by
Greg Messner
Browse files
Simplified test.
parent
77cc775f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/java/org/gitlab4j/api/TestGitLabApiException.java
View file @
d054639c
...
...
@@ -84,12 +84,7 @@ public class TestGitLabApiException extends AbstractIntegrationTest {
Project
project
=
new
Project
()
.
withName
(
TEST_PROJECT_NAME_DUPLICATE
)
.
withDescription
(
"GitLab4J test project."
)
.
withIssuesEnabled
(
true
)
.
withMergeRequestsEnabled
(
true
)
.
withWikiEnabled
(
true
)
.
withSnippetsEnabled
(
true
)
.
withVisibility
(
Visibility
.
PUBLIC
)
.
withTagList
(
Arrays
.
asList
(
"tag1"
,
"tag2"
));
.
withVisibility
(
Visibility
.
PUBLIC
);
Project
newProject
=
gitLabApi
.
getProjectApi
().
createProject
(
project
);
assertNotNull
(
newProject
);
...
...
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