diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-04-15 16:42:45 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-04-18 13:44:43 +0200 |
commit | 8164714c5c1ca06ed0435db281e0dbe1db80850c (patch) | |
tree | 8821a364aad1e68174185fb3854bbd8d1fa896f2 | |
parent | 4139a7a731f2831963a42b26aac111422be28792 (diff) | |
download | sssd-8164714c5c1ca06ed0435db281e0dbe1db80850c.tar.gz sssd-8164714c5c1ca06ed0435db281e0dbe1db80850c.tar.bz2 sssd-8164714c5c1ca06ed0435db281e0dbe1db80850c.zip |
tests: Fix the order of key/values
-rw-r--r-- | src/tests/common_dom.c | 5 |
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)); |