diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-30 14:04:24 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-30 14:04:24 -0700 |
commit | 014cf82a9e63a36e944e293932f9edf27e452919 (patch) | |
tree | 7ac5899f535fbf47e66dc1321738c951473a009b /src/test/java/org/traccar/protocol/YwtProtocolDecoderTest.java | |
parent | ce661ec77a957b70c15509c6801e6f34b32ad11d (diff) | |
download | trackermap-server-014cf82a9e63a36e944e293932f9edf27e452919.tar.gz trackermap-server-014cf82a9e63a36e944e293932f9edf27e452919.tar.bz2 trackermap-server-014cf82a9e63a36e944e293932f9edf27e452919.zip |
No context dependency for decoder
Diffstat (limited to 'src/test/java/org/traccar/protocol/YwtProtocolDecoderTest.java')
-rw-r--r-- | src/test/java/org/traccar/protocol/YwtProtocolDecoderTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/traccar/protocol/YwtProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/YwtProtocolDecoderTest.java index 1d29b1282..81afe53a3 100644 --- a/src/test/java/org/traccar/protocol/YwtProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/YwtProtocolDecoderTest.java @@ -8,7 +8,7 @@ public class YwtProtocolDecoderTest extends ProtocolTest { @Test public void testDecode() throws Exception { - var decoder = new YwtProtocolDecoder(null); + var decoder = inject(new YwtProtocolDecoder(null)); verifyPosition(decoder, text( "%RP,1222102985:1,170509033842,E102.146563,N14.582175,,0,320,10,0,00-00-00-00-00-00-00-00-00-00-00-00,,1db2-02b3-52004,3>941.523-32,7>1,19>-16,20>30.9V")); |