Commit 3988b28a authored by Greg Messner's avatar Greg Messner
Browse files

Cleaned up imports.

parent e16c5964
......@@ -9,7 +9,6 @@ import java.util.Map;
import org.gitlab4j.api.GitLabApi.ApiVersion;
import org.gitlab4j.api.models.Project;
import org.gitlab4j.api.models.Version;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.FixMethodOrder;
......
package org.gitlab4j.api;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assume.assumeTrue;
import java.io.File;
......
......@@ -123,7 +123,6 @@ public class TestGitLabLogin {
@Test
public void testOauth2LoginWithStringPassword() throws GitLabApiException {
@SuppressWarnings("deprecation")
GitLabApi gitLabApi = GitLabApi.oauth2Login(TEST_HOST_URL, TEST_LOGIN_USERNAME, TEST_LOGIN_PASSWORD, null, null, true);
assertNotNull(gitLabApi);
Version version = gitLabApi.getVersion();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment