diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-18 10:37:21 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-18 10:37:21 -0700 |
commit | 182656b6dc1fb5d167bb752c16ecf633add001a8 (patch) | |
tree | 917ab178c91a60f4639248298cb589a63d943989 /src/test/java | |
parent | 97a189c51817a6b1d7a86aece8a91ff378488799 (diff) | |
download | trackermap-server-182656b6dc1fb5d167bb752c16ecf633add001a8.tar.gz trackermap-server-182656b6dc1fb5d167bb752c16ecf633add001a8.tar.bz2 trackermap-server-182656b6dc1fb5d167bb752c16ecf633add001a8.zip |
Remove unused code
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/org/traccar/BaseTest.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/java/org/traccar/BaseTest.java b/src/test/java/org/traccar/BaseTest.java index 54035553f..6db568300 100644 --- a/src/test/java/org/traccar/BaseTest.java +++ b/src/test/java/org/traccar/BaseTest.java @@ -31,7 +31,6 @@ public class BaseTest { when(device.getId()).thenReturn(1L); var identityManager = mock(IdentityManager.class); when(identityManager.getById(anyLong())).thenReturn(device); - when(identityManager.getByUniqueId(any())).thenReturn(device); decoder.setIdentityManager(identityManager); var cacheManager = mock(CacheManager.class); when(cacheManager.getConfig()).thenReturn(config); @@ -72,7 +71,6 @@ public class BaseTest { encoder.setCacheManager(cacheManager); var identityManager = mock(IdentityManager.class); when(identityManager.getById(anyLong())).thenReturn(device); - when(identityManager.getByUniqueId(any())).thenReturn(device); encoder.setIdentityManager(identityManager); return encoder; } |