diff options
author | Andy Schwerin <schwerin@mongodb.com> | 2015-04-07 10:52:48 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@mongodb.com> | 2015-04-07 13:35:52 -0400 |
commit | 9f8c53d804d5c34056aec79e105cf1a1e6892784 (patch) | |
tree | e08754eb9d644a3bc111fa8342a7d76c991fc8cc /src | |
parent | 5bd02478c97e8739d15db2b86c6f54b2aee0ccb1 (diff) | |
download | mongo-9f8c53d804d5c34056aec79e105cf1a1e6892784.tar.gz |
SERVER-17817 Use the mongod auth manager state manipulator in dbtest, not the mock one.
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/dbtests/dbtests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/dbtests/dbtests.cpp b/src/mongo/dbtests/dbtests.cpp index 52386fb7e83..53e5f54b5ec 100644 --- a/src/mongo/dbtests/dbtests.cpp +++ b/src/mongo/dbtests/dbtests.cpp @@ -36,7 +36,7 @@ #include "mongo/base/initializer.h" #include "mongo/db/auth/authorization_manager.h" #include "mongo/db/auth/authorization_manager_global.h" -#include "mongo/db/auth/authz_manager_external_state_mock.h" +#include "mongo/db/auth/authz_manager_external_state_d.h" #include "mongo/db/catalog/index_create.h" #include "mongo/db/commands.h" #include "mongo/db/db_raii.h" @@ -111,7 +111,7 @@ int dbtestsMain( int argc, char** argv, char** envp ) { repl::setGlobalReplicationCoordinator(new repl::ReplicationCoordinatorMock(replSettings)); Command::testCommandsEnabled = 1; mongo::runGlobalInitializersOrDie(argc, argv, envp); - setGlobalAuthorizationManager(new AuthorizationManager(new AuthzManagerExternalStateMock())); + setGlobalAuthorizationManager(new AuthorizationManager(new AuthzManagerExternalStateMongod())); StartupTest::runTests(); return mongo::dbtests::runDbTests(argc, argv); } |