mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 21:06:50 +01:00
Fix ActivityDetailsParserTest now that we reuse trackpoints
This commit is contained in:
parent
d87659c9b9
commit
f88ef0e688
@ -48,7 +48,7 @@ public class ActivityDetailsParserTest extends TestBase {
|
||||
assertEquals("Elvis", track.getUser().getName());
|
||||
|
||||
List<ActivityPoint> trackPoints = track.getTrackPoints();
|
||||
assertEquals(1208, trackPoints.size());
|
||||
assertEquals(939, trackPoints.size());
|
||||
}
|
||||
}
|
||||
|
||||
@ -87,7 +87,7 @@ public class ActivityDetailsParserTest extends TestBase {
|
||||
ActivityTrack track = parser.parse(FileUtils.readAll(in, MAX_DETAILS));
|
||||
|
||||
List<ActivityPoint> trackPoints = track.getTrackPoints();
|
||||
assertEquals(1208, trackPoints.size());
|
||||
assertEquals(939, trackPoints.size());
|
||||
|
||||
|
||||
GPXExporter exporter = new GPXExporter();
|
||||
|
Loading…
Reference in New Issue
Block a user