summaryrefslogtreecommitdiff
path: root/server/tests
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-08-26 16:51:57 -0400
committerSimo Sorce <ssorce@redhat.com>2009-08-27 13:55:22 -0400
commit61684e3e684855a72555c11a6de980b132676067 (patch)
treec006dfbb9eed7afa54d33197111d6416cbc45091 /server/tests
parentaa92e2ab85f14c42dc78a5c07209f58a1ef01538 (diff)
downloadsssd-61684e3e684855a72555c11a6de980b132676067.tar.gz
sssd-61684e3e684855a72555c11a6de980b132676067.tar.bz2
sssd-61684e3e684855a72555c11a6de980b132676067.zip
Remove redunant function and always pass attrs.
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/sysdb-tests.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/tests/sysdb-tests.c b/server/tests/sysdb-tests.c
index 1b3ee64a..72514e3b 100644
--- a/server/tests/sysdb-tests.c
+++ b/server/tests/sysdb-tests.c
@@ -279,7 +279,8 @@ static void test_store_user(struct tevent_req *req)
data->domain, data->username, "x",
data->uid, 0,
gecos, homedir,
- data->shell ? data->shell : "/bin/bash");
+ data->shell ? data->shell : "/bin/bash",
+ NULL);
if (!subreq) {
test_return(data, ENOMEM);
return;
@@ -484,7 +485,7 @@ static void test_store_group(struct tevent_req *req)
subreq = sysdb_store_group_send(data, data->ev, data->handle,
data->domain, data->groupname,
- data->gid, NULL);
+ data->gid, NULL, NULL);
if (!subreq) {
test_return(data, ret);
}