Skip to content

Commit c9fe315

Browse files
committed
Reordered asserts in testCreateImpersonationToken().
1 parent 1a6f7e7 commit c9fe315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ public void testCreateImpersonationToken() throws GitLabApiException, ParseExcep
230230
assertNotNull(token);
231231
assertNotNull(token.getId());
232232
assertEquals(TEST_IMPERSONATION_TOKEN_NAME, token.getName());
233-
assertEquals(scopes.length, token.getScopes().size());
234233
assertEquals(expiresAt.getTime(), token.getExpiresAt().getTime());
234+
assertEquals(scopes.length, token.getScopes().size());
235235
assertThat(token.getScopes(), containsInAnyOrder(scopes));
236236

237237
} finally {

0 commit comments

Comments
 (0)