summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-07 19:44:29 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 10:53:01 +0100
commitb7427d63bd328be32991f9d437c4a3d46bcabe03 (patch)
tree1b232e469a99cdeb2f3ac00c9ee5997dd2e6d03f /src/tests
parent5c1135221ff3ea9132b6ebf073f2dcae88b73b3f (diff)
downloadsssd-b7427d63bd328be32991f9d437c4a3d46bcabe03.tar.gz
sssd-b7427d63bd328be32991f9d437c4a3d46bcabe03.tar.xz
sssd-b7427d63bd328be32991f9d437c4a3d46bcabe03.zip
Add domain arguments to sysdb_add_inetgroup fns.
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/sysdb-tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/sysdb-tests.c b/src/tests/sysdb-tests.c
index e9c771a69..91298e146 100644
--- a/src/tests/sysdb-tests.c
+++ b/src/tests/sysdb-tests.c
@@ -473,7 +473,7 @@ static int test_add_basic_netgroup(struct test_data *data)
description = talloc_asprintf(data, "Test Netgroup %d", data->uid);
- ret = sysdb_add_basic_netgroup(data->ctx->sysdb,
+ ret = sysdb_add_basic_netgroup(data->ctx->sysdb, data->ctx->domain,
data->netgrname, description);
return ret;
}
@@ -3799,7 +3799,7 @@ START_TEST(test_odd_characters)
/* ===== Netgroups ===== */
/* Add */
- ret = sysdb_add_netgroup(test_ctx->sysdb,
+ ret = sysdb_add_netgroup(test_ctx->sysdb, test_ctx->domain,
odd_netgroupname, "No description",
NULL, NULL, 30, 0);
fail_unless(ret == EOK, "sysdb_add_netgroup error [%d][%s]",