diff options
Diffstat (limited to 'src/mongo/s/commands/cluster_aggregate_test.cpp')
-rw-r--r-- | src/mongo/s/commands/cluster_aggregate_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/commands/cluster_aggregate_test.cpp b/src/mongo/s/commands/cluster_aggregate_test.cpp index 17700666352..dfae0f183db 100644 --- a/src/mongo/s/commands/cluster_aggregate_test.cpp +++ b/src/mongo/s/commands/cluster_aggregate_test.cpp @@ -95,7 +95,7 @@ protected: NamespaceString nss{"a.collection"}; auto client = getServiceContext()->makeClient("ClusterCmdClient"); auto opCtx = client->makeOperationContext(); - auto request = aggregation_request_helper::parseFromBSON(nss, inputBson); + auto request = aggregation_request_helper::parseFromBSONForTests(nss, inputBson); if (request.getStatus() != Status::OK()) { return request.getStatus(); } |