summaryrefslogtreecommitdiff
path: root/jstests/core/views
diff options
context:
space:
mode:
authorJames Wahlin <james@mongodb.com>2020-09-25 14:10:54 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-10-21 17:32:36 +0000
commit9d51067f896a8f03c7a654dc01189fef3a14b719 (patch)
tree50b7682637df55f602dae0a79b01669ba9b01eac /jstests/core/views
parent8de14ac959567c9bc29a108db65114ffd2a91163 (diff)
downloadmongo-9d51067f896a8f03c7a654dc01189fef3a14b719.tar.gz
SERVER-50746 Don't implicitly ignore _id in jstests/aggregation/extras/utils.js comparison functions
Diffstat (limited to 'jstests/core/views')
-rw-r--r--jstests/core/views/views_aggregation.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/views/views_aggregation.js b/jstests/core/views/views_aggregation.js
index a6efd97e661..0921dc56cdc 100644
--- a/jstests/core/views/views_aggregation.js
+++ b/jstests/core/views/views_aggregation.js
@@ -74,7 +74,7 @@ assert.commandWorked(viewsDB.runCommand({
// Aggregations work on views that sort.
const doOrderedSort = true;
assertAggResultEq("popSortedView", [], allDocuments.sort(byPopulation), doOrderedSort);
- assertAggResultEq("popSortedView", [{$limit: 1}, {$project: {_id: 1}}], [{_id: "Palo Alto"}]);
+ assertAggResultEq("popSortedView", [{$limit: 1}, {$project: {_id: 1}}], [{_id: "Newark"}]);
})();
(function testAggStagesWritingToViews() {