aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/BaseTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-18 10:37:21 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-18 10:37:21 -0700
commit182656b6dc1fb5d167bb752c16ecf633add001a8 (patch)
tree917ab178c91a60f4639248298cb589a63d943989 /src/test/java/org/traccar/BaseTest.java
parent97a189c51817a6b1d7a86aece8a91ff378488799 (diff)
downloadtrackermap-server-182656b6dc1fb5d167bb752c16ecf633add001a8.tar.gz
trackermap-server-182656b6dc1fb5d167bb752c16ecf633add001a8.tar.bz2
trackermap-server-182656b6dc1fb5d167bb752c16ecf633add001a8.zip
Remove unused code
Diffstat (limited to 'src/test/java/org/traccar/BaseTest.java')
-rw-r--r--src/test/java/org/traccar/BaseTest.java2
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;
}