lenboo 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_r364537700
##########
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:
you are right. but we can optimize rather than delete them.
----------------------------------------------------------------
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