Skip to content

Commit

Permalink
Updating submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Wiens committed Mar 18, 2024
1 parent 3166c80 commit 3928c57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion jpo-conflictmonitor
Submodule jpo-conflictmonitor updated from cc5d94 to b98f6e
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ public void testGetQuery() {


// Assert Start and End Time
Document queryTimeDocument = (Document)query.getQueryObject().get("eventGeneratedAt");
Document queryTimeDocument = (Document)query.getQueryObject().get("recordGeneratedAt");
assertThat(queryTimeDocument.getDate("$gte")).isEqualTo(new Date(startTime));
assertThat(queryTimeDocument.getDate("$lte")).isEqualTo(new Date(endTime));


// Assert sorting and limit
assertThat(query.getSortObject().keySet().contains("eventGeneratedAt")).isTrue();
assertThat(query.getSortObject().get("eventGeneratedAt")).isEqualTo(-1);
assertThat(query.getSortObject().keySet().contains("recordGeneratedAt")).isTrue();
assertThat(query.getSortObject().get("recordGeneratedAt")).isEqualTo(-1);
assertThat(query.getLimit()).isEqualTo(1);

}
Expand Down

0 comments on commit 3928c57

Please sign in to comment.