diff options
Diffstat (limited to 'test/org/traccar/helper/TestDataManager.java')
-rw-r--r-- | test/org/traccar/helper/TestDataManager.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/org/traccar/helper/TestDataManager.java b/test/org/traccar/helper/TestDataManager.java index 8503791e7..000b7196d 100644 --- a/test/org/traccar/helper/TestDataManager.java +++ b/test/org/traccar/helper/TestDataManager.java @@ -19,10 +19,17 @@ public class TestDataManager implements DataManager { return device; } @Override + public Device getDeviceById(Long id) { + Device device = new Device(); + device.setId(new Long(1)); + device.setImei("123456789012345"); + return device; + } + @Override public Long addPosition(Position position) { return null; } @Override - public void updateLatestPosition(Long deviceId, Long positionId) throws Exception { + public void updateLatestPosition(Position position, Long positionId) throws Exception { } } |