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
3988b28a
Commit
3988b28a
authored
Feb 07, 2019
by
Greg Messner
Browse files
Cleaned up imports.
parent
e16c5964
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/test/java/org/gitlab4j/api/TestAvatarUpload.java
View file @
3988b28a
...
...
@@ -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
;
...
...
src/test/java/org/gitlab4j/api/TestFileUpload.java
View file @
3988b28a
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
;
...
...
src/test/java/org/gitlab4j/api/TestGitLabLogin.java
View file @
3988b28a
...
...
@@ -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
();
...
...
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