Skip to content

Commit d054639

Browse files
committed
Simplified test.
1 parent 77cc775 commit d054639

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/test/java/org/gitlab4j/api/TestGitLabApiException.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,7 @@ public void testValidationErrors() throws GitLabApiException {
8484
Project project = new Project()
8585
.withName(TEST_PROJECT_NAME_DUPLICATE)
8686
.withDescription("GitLab4J test project.")
87-
.withIssuesEnabled(true)
88-
.withMergeRequestsEnabled(true)
89-
.withWikiEnabled(true)
90-
.withSnippetsEnabled(true)
91-
.withVisibility(Visibility.PUBLIC)
92-
.withTagList(Arrays.asList("tag1", "tag2"));
87+
.withVisibility(Visibility.PUBLIC);
9388

9489
Project newProject = gitLabApi.getProjectApi().createProject(project);
9590
assertNotNull(newProject);

0 commit comments

Comments
 (0)