diff options
Diffstat (limited to 'test/org/traccar/WebDataHandlerTest.java')
-rw-r--r-- | test/org/traccar/WebDataHandlerTest.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/org/traccar/WebDataHandlerTest.java b/test/org/traccar/WebDataHandlerTest.java index 1cdb08440..cfbd71f23 100644 --- a/test/org/traccar/WebDataHandlerTest.java +++ b/test/org/traccar/WebDataHandlerTest.java @@ -1,6 +1,8 @@ package org.traccar; import org.junit.Test; +import org.traccar.config.Config; +import org.traccar.config.Keys; import org.traccar.model.Position; import static org.junit.Assert.assertEquals; @@ -11,7 +13,7 @@ public class WebDataHandlerTest extends ProtocolTest { public void testFormatRequest() throws Exception { Config config = new Config(); - config.setString("forward.url", "http://localhost/?fixTime={fixTime}&gprmc={gprmc}&name={name}"); + config.setString(Keys.FORWARD_URL, "http://localhost/?fixTime={fixTime}&gprmc={gprmc}&name={name}"); Position position = position("2016-01-01 01:02:03.000", true, 20, 30); |