Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
Fix TestMeasurementDocuement
Browse files Browse the repository at this point in the history
  • Loading branch information
hb0 committed Jun 30, 2023
1 parent 431c79a commit f85f1ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public Future<String> insert(final MongoClient mongoClient) {
.put(METADATA_OS_VERSION_FIELD, "Android 9.0.0")
.put(METADATA_APP_VERSION_FIELD, "1.2.0")
.put(METADATA_LENGTH_FIELD, 1500.2)
.put(USER_ID_FIELD, new JsonObject().put("$oid", ownerUserId)) // new ObjectId() not supported
.put(USER_ID_FIELD, ownerUserId) // new ObjectId() not supported
.put(METADATA_VERSION_FIELD, "2.0.0");

final JsonArray geoLocations = new JsonArray();
Expand Down

0 comments on commit f85f1ac

Please sign in to comment.