Skip to content

Commit 530d751

Browse files
committed
Fixed testCommitRefs().
1 parent 24fbb5b commit 530d751

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ public void testCommitRefs() throws GitLabApiException {
165165
assertTrue(commits.size() > 0);
166166

167167
List<CommitRef> commitRefs = gitLabApi.getCommitsApi().getCommitRefs(testProject.getId(), commits.get(0).getId());
168-
assertNotNull(commits);
169-
assertTrue(commits.size() > 0);
168+
assertNotNull(commitRefs);
169+
assertTrue(commitRefs.size() > 0);
170170
}
171171

172172
@Test

0 commit comments

Comments
 (0)