aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-10-16 14:13:13 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-10-16 14:13:13 +1300
commit017fbd08ecbffecd1557ec022d5adc49af73300c (patch)
tree903c668263354162bf661ac6e050b438613e26f4 /test
parent4a49c75d675439605a3f8c3ac1719fa2c3b596b8 (diff)
downloadtrackermap-server-017fbd08ecbffecd1557ec022d5adc49af73300c.tar.gz
trackermap-server-017fbd08ecbffecd1557ec022d5adc49af73300c.tar.bz2
trackermap-server-017fbd08ecbffecd1557ec022d5adc49af73300c.zip
Start implementing injection
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/WebDataHandlerTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/org/traccar/WebDataHandlerTest.java b/test/org/traccar/WebDataHandlerTest.java
index 70c744b3a..9b003a425 100644
--- a/test/org/traccar/WebDataHandlerTest.java
+++ b/test/org/traccar/WebDataHandlerTest.java
@@ -12,7 +12,8 @@ public class WebDataHandlerTest extends ProtocolTest {
Position p = position("2016-01-01 01:02:03.000", true, 20, 30);
- WebDataHandler handler = new WebDataHandler("http://localhost/?fixTime={fixTime}&gprmc={gprmc}&name={name}", false);
+ WebDataHandler handler = new WebDataHandler(
+ Context.getIdentityManager(), null, null, "http://localhost/?fixTime={fixTime}&gprmc={gprmc}&name={name}", false);
assertEquals(
"http://localhost/?fixTime=1451610123000&gprmc=$GPRMC,010203.000,A,2000.0000,N,03000.0000,E,0.00,0.00,010116,,*05&name=test",