zjcnb commented on a change in pull request #1653: Remove @Data annotation and 
add @TableField annotation
URL: 
https://github.com/apache/incubator-dolphinscheduler/pull/1653#discussion_r362382583
 
 

 ##########
 File path: 
dolphinscheduler-dao/src/test/java/org/apache/dolphinscheduler/dao/mapper/AccessTokenMapperTest.java
 ##########
 @@ -77,14 +76,7 @@ public void testInsert() throws Exception{
     @Test
     public void testSelectById() throws Exception{
         Integer userId = 1;
-
-        AccessToken accessToken = createAccessToken(userId);
-
-        AccessToken resultAccessToken
-                = accessTokenMapper.selectById(accessToken.getId());
 
 Review comment:
   this accessToken different resultAccessToken in memory address,so use 
assertEquals(accessToken,resultAccessToken) are error in compile time

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to