summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-09-28 16:58:31 +0200
committerStephen Gallagher <sgallagh@redhat.com>2009-10-01 08:42:36 -0400
commitd4341d654beb1f6c87d7f70ef0142f23aadac957 (patch)
tree46bb6e027e1033c8c6326d4ac90e3e850a14b616 /server
parentc0091cf57e30f8707915e9ba9266954fe99168a2 (diff)
downloadsssd-d4341d654beb1f6c87d7f70ef0142f23aadac957.tar.gz
sssd-d4341d654beb1f6c87d7f70ef0142f23aadac957.tar.bz2
sssd-d4341d654beb1f6c87d7f70ef0142f23aadac957.zip
update sysdb tests to new config file version
Diffstat (limited to 'server')
-rw-r--r--server/tests/sysdb-tests.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/server/tests/sysdb-tests.c b/server/tests/sysdb-tests.c
index 424393cf..a16aa794 100644
--- a/server/tests/sysdb-tests.c
+++ b/server/tests/sysdb-tests.c
@@ -90,7 +90,7 @@ static int setup_sysdb_tests(struct sysdb_test_ctx **ctx)
val[0] = "LOCAL";
ret = confdb_add_param(test_ctx->confdb, true,
- "config/domains", "domains", val);
+ "config/sssd", "domains", val);
if (ret != EOK) {
fail("Could not initialize domains placeholder");
talloc_free(test_ctx);
@@ -99,7 +99,7 @@ static int setup_sysdb_tests(struct sysdb_test_ctx **ctx)
val[0] = "local";
ret = confdb_add_param(test_ctx->confdb, true,
- "config/domains/LOCAL", "provider", val);
+ "config/domain/LOCAL", "id_provider", val);
if (ret != EOK) {
fail("Could not initialize provider");
talloc_free(test_ctx);
@@ -108,16 +108,7 @@ static int setup_sysdb_tests(struct sysdb_test_ctx **ctx)
val[0] = "TRUE";
ret = confdb_add_param(test_ctx->confdb, true,
- "config/domains/LOCAL", "magicPrivateGroups", val);
- if (ret != EOK) {
- fail("Could not initialize LOCAL domain");
- talloc_free(test_ctx);
- return ret;
- }
-
- val[0] = "TRUE";
- ret = confdb_add_param(test_ctx->confdb, true,
- "config/domains/LOCAL", "enumerate", val);
+ "config/domain/LOCAL", "enumerate", val);
if (ret != EOK) {
fail("Could not initialize LOCAL domain");
talloc_free(test_ctx);