Skip to content

Commit

Permalink
Fix SyncPerformerTest.testSendData_toActualApi
Browse files Browse the repository at this point in the history
  • Loading branch information
hb0 committed Feb 27, 2020
1 parent 8f2c734 commit 89d6bd3
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
*
* @author Klemens Muthmann
* @author Armin Schnabel
* @version 2.0.8
* @version 2.0.9
* @since 2.0.0
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
Expand Down Expand Up @@ -262,7 +262,8 @@ public void testSendData_toActualApi() throws CursorIsNullException, NoSuchMeasu
final GeoLocation startLocation = tracks.get(0).getGeoLocations().get(0);
final List<GeoLocation> lastTrack = tracks.get(tracks.size() - 1).getGeoLocations();
final GeoLocation endLocation = lastTrack.get(lastTrack.size() - 1);
final SyncAdapter.MetaData metaData = new SyncAdapter.MetaData(startLocation, endLocation, "testDeviceId",
final String deviceId = "testDevi-ce00-42b6-a840-1b70d30094b8"; // Must be a valid UUID
final SyncAdapter.MetaData metaData = new SyncAdapter.MetaData(startLocation, endLocation, deviceId,
measurementIdentifier, "testDeviceType", "testOsVersion", "testAppVersion",
measurement.getDistance(), locationCount, Modality.BICYCLE);

Expand Down

0 comments on commit 89d6bd3

Please sign in to comment.