Skip to content

Commit f858550

Browse files
committed
Now uses API v4.
1 parent 1ac45c0 commit f858550

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
import java.nio.file.StandardCopyOption;
1515
import java.util.List;
1616

17-
import org.gitlab4j.api.GitLabApi.ApiVersion;
1817
import org.gitlab4j.api.models.Branch;
1918
import org.gitlab4j.api.models.Commit;
2019
import org.gitlab4j.api.models.CompareResults;
@@ -85,7 +84,7 @@ public static void setup() {
8584
}
8685

8786
if (problems.isEmpty()) {
88-
gitLabApi = new GitLabApi(ApiVersion.V3, TEST_HOST_URL, TEST_PRIVATE_TOKEN);
87+
gitLabApi = new GitLabApi(TEST_HOST_URL, TEST_PRIVATE_TOKEN);
8988
teardown();
9089
} else {
9190
System.err.print(problems);

0 commit comments

Comments
 (0)