summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/querytests.cpp
diff options
context:
space:
mode:
authorSophia Tan <sophia_tll@hotmail.com>2022-02-03 14:09:41 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-02-03 14:54:57 +0000
commitc81c668189f7c7a933661d1e225aacfdbc33840d (patch)
tree7a650c5cb0c5ba8bf3569005d93bc1428bad1005 /src/mongo/dbtests/querytests.cpp
parent7e917657f0f23fc962010a2f2e1a837309b787ae (diff)
downloadmongo-c81c668189f7c7a933661d1e225aacfdbc33840d.tar.gz
SERVER-61987 Change DatabaseHolder's map to be keyed by TenantDatabaseName
Diffstat (limited to 'src/mongo/dbtests/querytests.cpp')
-rw-r--r--src/mongo/dbtests/querytests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/querytests.cpp b/src/mongo/dbtests/querytests.cpp
index 06757ea35ee..3310f766ff4 100644
--- a/src/mongo/dbtests/querytests.cpp
+++ b/src/mongo/dbtests/querytests.cpp
@@ -1169,7 +1169,7 @@ public:
Lock::GlobalWrite lk(&_opCtx);
OldClientContext ctx(&_opCtx, "unittests.DirectLocking");
_client.remove("a.b", BSONObj());
- ASSERT_EQUALS("unittests", ctx.db()->name());
+ ASSERT_EQUALS("unittests", ctx.db()->name().dbName());
}
const char* ns;
};