caishunfeng commented on code in PR #11032:
URL: https://github.com/apache/dolphinscheduler/pull/11032#discussion_r924006367


##########
dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/mapper/AccessTokenMapperTest.java:
##########
@@ -141,8 +141,7 @@ public void testSelectAccessTokenPage() throws Exception {
         Map<Integer, AccessToken> accessTokenMap = createAccessTokens(count, 
userName);
 
         Page page = new Page(offset, size);
-        List<Integer> tokenIds = 
accessTokenMap.values().stream().map(AccessToken::getId).collect(Collectors.toList());
-        IPage<AccessToken> accessTokenPage = 
accessTokenMapper.selectAccessTokenPage(page, tokenIds, userName);
+        IPage<AccessToken> accessTokenPage = 
accessTokenMapper.selectAccessTokenPage(page, userName, 0);

Review Comment:
   can you add anothor case for useful userId?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to