aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/BaseTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-30 14:59:09 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-30 14:59:09 -0700
commit85f04c6d30e11d8b748ea2b431dbeffce1126a65 (patch)
treebef590914d97fb830cf5e15bfea15d021f182af3 /src/test/java/org/traccar/BaseTest.java
parent0202dbf7258df8cbe8168ddc985e774b1cadf964 (diff)
downloadtrackermap-server-85f04c6d30e11d8b748ea2b431dbeffce1126a65.tar.gz
trackermap-server-85f04c6d30e11d8b748ea2b431dbeffce1126a65.tar.bz2
trackermap-server-85f04c6d30e11d8b748ea2b431dbeffce1126a65.zip
Remove test identity manager
Diffstat (limited to 'src/test/java/org/traccar/BaseTest.java')
-rw-r--r--src/test/java/org/traccar/BaseTest.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/java/org/traccar/BaseTest.java b/src/test/java/org/traccar/BaseTest.java
index 2eedd4bd8..0f6c55857 100644
--- a/src/test/java/org/traccar/BaseTest.java
+++ b/src/test/java/org/traccar/BaseTest.java
@@ -1,7 +1,5 @@
package org.traccar;
-import org.mockito.invocation.InvocationOnMock;
-import org.mockito.stubbing.Answer;
import org.traccar.config.Config;
import org.traccar.database.ConnectionManager;
import org.traccar.database.IdentityManager;
@@ -18,10 +16,6 @@ import static org.mockito.Mockito.when;
public class BaseTest {
- static {
- Context.init(new TestIdentityManager());
- }
-
protected <T extends BaseProtocolDecoder> T inject(T decoder) throws Exception {
decoder.setConfig(new Config());
var device = mock(Device.class);