summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-06-23 17:52:03 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-07-01 11:43:21 +0200
commit9339e19aa015a7a32791cb94f92d1656361c6662 (patch)
tree3a6ba8a9047fc8c8263bd63a1f04470c88e7d1d6 /src/tests
parent919cfb623e9b725eaa654c6e1b513d1305057314 (diff)
downloadsssd-9339e19aa015a7a32791cb94f92d1656361c6662.tar.gz
sssd-9339e19aa015a7a32791cb94f92d1656361c6662.tar.xz
sssd-9339e19aa015a7a32791cb94f92d1656361c6662.zip
TESTS: Use the right confdb path
The nested group test only worked by accident. Its confdb settings were not applied because a wrong confdb path was used. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/cmocka/test_nested_groups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/cmocka/test_nested_groups.c b/src/tests/cmocka/test_nested_groups.c
index ed9a8c8ec..9f38e3dd3 100644
--- a/src/tests/cmocka/test_nested_groups.c
+++ b/src/tests/cmocka/test_nested_groups.c
@@ -136,7 +136,7 @@ void nested_groups_test_setup(void **state)
test_ctx->sdap_opts = mock_sdap_options_ldap(test_ctx,
test_ctx->tctx->dom,
test_ctx->tctx->confdb,
- test_ctx->tctx->confdb_path);
+ test_ctx->tctx->conf_dom_path);
assert_non_null(test_ctx->sdap_opts);
test_ctx->sdap_domain = test_ctx->sdap_opts->sdom;
test_ctx->sdap_handle = mock_sdap_handle(test_ctx);