diff options
Diffstat (limited to 'src/mongo/db/auth/validated_tenancy_scope_test.cpp')
-rw-r--r-- | src/mongo/db/auth/validated_tenancy_scope_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/auth/validated_tenancy_scope_test.cpp b/src/mongo/db/auth/validated_tenancy_scope_test.cpp index 66c48653916..94b35e9626b 100644 --- a/src/mongo/db/auth/validated_tenancy_scope_test.cpp +++ b/src/mongo/db/auth/validated_tenancy_scope_test.cpp @@ -48,7 +48,7 @@ public: * Synthesize a user with the useTenant privilege and add them to the authorization session. */ static void grantUseTenant(Client& client) { - User user(UserRequest(UserName("useTenant"_sd, "admin"_sd), boost::none)); + User user(UserName("useTenant", "admin")); user.setPrivileges( {Privilege(ResourcePattern::forClusterResource(), ActionType::useTenant)}); auto* as = dynamic_cast<AuthorizationSessionImpl*>(AuthorizationSession::get(client)); |