diff options
Diffstat (limited to 'src/mongo/db/pipeline/document_source_unwind_test.cpp')
-rw-r--r-- | src/mongo/db/pipeline/document_source_unwind_test.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/document_source_unwind_test.cpp b/src/mongo/db/pipeline/document_source_unwind_test.cpp index 662ee79d24a..8eb021797af 100644 --- a/src/mongo/db/pipeline/document_source_unwind_test.cpp +++ b/src/mongo/db/pipeline/document_source_unwind_test.cpp @@ -70,8 +70,9 @@ public: CheckResultsBase() : _queryServiceContext(std::make_unique<QueryTestServiceContext>()), _opCtx(_queryServiceContext->makeOperationContext()), - _ctx(new ExpressionContextForTest(_opCtx.get(), - AggregateCommandRequest(NamespaceString(ns), {}))) {} + _ctx(new ExpressionContextForTest( + _opCtx.get(), + AggregateCommandRequest(NamespaceString::createNamespaceString_forTest(ns), {}))) {} virtual ~CheckResultsBase() {} |