diff options
author | Tom Joseph <tomjoseph@in.ibm.com> | 2018-11-19 09:49:21 +0530 |
---|---|---|
committer | Tom Joseph <tomjoseph@in.ibm.com> | 2018-11-20 09:45:55 +0530 |
commit | f5bd891cf5afb30085d1a5e93d86bd022c097238 (patch) | |
tree | 426c12cf2da3825056392426114aa3b919acde23 /phosphor-ldap-mapper/main.cpp | |
parent | 23886efd0780cd6c87741a9ecac2d55d9ab4c7a8 (diff) | |
download | phosphor-user-manager-f5bd891cf5afb30085d1a5e93d86bd022c097238.tar.gz phosphor-user-manager-f5bd891cf5afb30085d1a5e93d86bd022c097238.zip |
Refactor mapper application to enable unit tests
Change-Id: I58cac8879f93ce49bfb654a1bf559d7f77b5b486
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Diffstat (limited to 'phosphor-ldap-mapper/main.cpp')
-rw-r--r-- | phosphor-ldap-mapper/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phosphor-ldap-mapper/main.cpp b/phosphor-ldap-mapper/main.cpp index 15c9802..e0d2255 100644 --- a/phosphor-ldap-mapper/main.cpp +++ b/phosphor-ldap-mapper/main.cpp @@ -9,7 +9,8 @@ int main(int argc, char** argv) sdbusplus::server::manager::manager objManager( bus, phosphor::user::mapperMgrRoot); - phosphor::user::LDAPMapperMgr mapperMgr(bus, phosphor::user::mapperMgrRoot); + phosphor::user::LDAPMapperMgr mapperMgr(bus, phosphor::user::mapperMgrRoot, + LDAP_MAPPER_PERSIST_PATH); // Create a directory to persist errors. std::experimental::filesystem::create_directories(LDAP_MAPPER_PERSIST_PATH); |