diff options
author | jannaerin <golden.janna@gmail.com> | 2022-07-15 15:13:00 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-07-15 16:37:02 +0000 |
commit | 299c4b3e46075a01ab8d0989bca5358a2b0603ae (patch) | |
tree | b01d0e260502be4346f346d8d8d3239836a8d087 /src/mongo/db/auth/auth_op_observer_test.cpp | |
parent | a16f7f1ee85ac854db4e92294ceb392043623fea (diff) | |
download | mongo-299c4b3e46075a01ab8d0989bca5358a2b0603ae.tar.gz |
SERVER-62923 Change DB lock RAII types to use DatabaseName
Diffstat (limited to 'src/mongo/db/auth/auth_op_observer_test.cpp')
-rw-r--r-- | src/mongo/db/auth/auth_op_observer_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/auth/auth_op_observer_test.cpp b/src/mongo/db/auth/auth_op_observer_test.cpp index 72f1230af43..4ae2d589c5c 100644 --- a/src/mongo/db/auth/auth_op_observer_test.cpp +++ b/src/mongo/db/auth/auth_op_observer_test.cpp @@ -131,7 +131,7 @@ TEST_F(AuthOpObserverTest, MultipleAboutToDeleteAndOnDelete) { AuthOpObserver opObserver; auto opCtx = cc().makeOperationContext(); NamespaceString nss = {"test", "coll"}; - AutoGetDb autoDb(opCtx.get(), nss.db(), MODE_X); + AutoGetDb autoDb(opCtx.get(), nss.dbName(), MODE_X); WriteUnitOfWork wunit(opCtx.get()); opObserver.aboutToDelete(opCtx.get(), nss, uuid, BSON("_id" << 1)); opObserver.onDelete(opCtx.get(), nss, uuid, {}, {}); |