rickchengx commented on code in PR #15870:
URL: 
https://github.com/apache/dolphinscheduler/pull/15870#discussion_r1570652522


##########
dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/utils/ServiceTestUtil.java:
##########
@@ -27,4 +30,19 @@ public static String randomStringWithLengthN(int n) {
         new Random().nextBytes(bitArray);
         return new String(bitArray, StandardCharsets.UTF_8);
     }
+
+    private static User getUser(Integer userId, String userName, UserType 
userType) {
+        User user = new User();
+        user.setUserType(userType);
+        user.setId(userId);
+        user.setUserName(userName);
+        return user;
+    }
+
+    public static User getAdminUser() {

Review Comment:
   It seems that this part is not used in this PR
   Others LGTM



-- 
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