mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-13 13:07:32 +00:00
(improvement)(test) Fix Checkstyle error (#662)
This commit is contained in:
@@ -39,5 +39,4 @@ public class MockConfiguration {
|
|||||||
when(agentService.getAgent(2)).thenReturn(DataUtils.getTagAgent());
|
when(agentService.getAgent(2)).thenReturn(DataUtils.getTagAgent());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,11 +18,9 @@ import com.tencent.supersonic.common.pojo.enums.FilterOperatorEnum;
|
|||||||
|
|
||||||
public class DataUtils {
|
public class DataUtils {
|
||||||
|
|
||||||
private static final User user_test = User.getFakeUser();
|
|
||||||
|
|
||||||
public static final Integer metricAgentId = 1;
|
public static final Integer metricAgentId = 1;
|
||||||
public static final Integer tagAgentId = 2;
|
public static final Integer tagAgentId = 2;
|
||||||
|
private static final User user_test = User.getFakeUser();
|
||||||
public static User getUser() {
|
public static User getUser() {
|
||||||
return user_test;
|
return user_test;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user