summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-04-15 16:42:45 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-04-18 13:44:43 +0200
commit8164714c5c1ca06ed0435db281e0dbe1db80850c (patch)
tree8821a364aad1e68174185fb3854bbd8d1fa896f2
parent4139a7a731f2831963a42b26aac111422be28792 (diff)
downloadsssd-8164714c5c1ca06ed0435db281e0dbe1db80850c.tar.gz
sssd-8164714c5c1ca06ed0435db281e0dbe1db80850c.tar.bz2
sssd-8164714c5c1ca06ed0435db281e0dbe1db80850c.zip
tests: Fix the order of key/values
-rw-r--r--src/tests/common_dom.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tests/common_dom.c b/src/tests/common_dom.c
index f8356210..db329787 100644
--- a/src/tests/common_dom.c
+++ b/src/tests/common_dom.c
@@ -92,9 +92,10 @@ create_dom_test_ctx(TALLOC_CTX *mem_ctx,
if (params) {
for (i=0; params[i].key; i++) {
- val[0] = params[i].key;
+ val[0] = params[i].value;
ret = confdb_add_param(test_ctx->confdb, true,
- dompath, params[i].value, val);
+ dompath, params[i].key,
+ val);
if (ret != EOK) {
DEBUG(SSSDBG_CRIT_FAILURE,
("cannot add parameter %s: %d\n", params[i].key, ret));