summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorMichal Zidek <mzidek@redhat.com>2013-10-11 17:50:12 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-11-15 20:20:18 +0100
commit19d8bc19b5b5597427878645644fa354ef6cb54d (patch)
treec2f1e317b8369c7d19576ab0228d38f376393d51 /src/tests
parent4fcc50e133f90cd4c5931a3ac48c84cb628b16fc (diff)
downloadsssd-19d8bc19b5b5597427878645644fa354ef6cb54d.tar.gz
sssd-19d8bc19b5b5597427878645644fa354ef6cb54d.tar.xz
sssd-19d8bc19b5b5597427878645644fa354ef6cb54d.zip
SYSDB: Drop the sysdb_ctx parameter from the sysdb_ssh module
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/sysdb_ssh-tests.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/tests/sysdb_ssh-tests.c b/src/tests/sysdb_ssh-tests.c
index 95c57a7eb..114c33ca7 100644
--- a/src/tests/sysdb_ssh-tests.c
+++ b/src/tests/sysdb_ssh-tests.c
@@ -172,8 +172,7 @@ static int test_sysdb_store_ssh_host(struct test_data *data)
int ret;
time_t now = time(NULL);
- ret = sysdb_store_ssh_host(data->ctx->sysdb,
- data->ctx->domain,
+ ret = sysdb_store_ssh_host(data->ctx->domain,
data->hostname,
data->alias,
now,
@@ -185,8 +184,7 @@ static int test_sysdb_delete_ssh_host(struct test_data *data)
{
int ret;
- ret = sysdb_delete_ssh_host(data->ctx->sysdb,
- data->ctx->domain, data->hostname);
+ ret = sysdb_delete_ssh_host(data->ctx->domain, data->hostname);
return ret;
}
@@ -195,9 +193,8 @@ static int test_sysdb_get_ssh_host(struct test_data *data)
int ret;
const char *attrs[] = { SYSDB_NAME, NULL };
- ret = sysdb_get_ssh_host(data->ctx, data->ctx->sysdb,
- data->ctx->domain, data->hostname, attrs,
- &data->host);
+ ret = sysdb_get_ssh_host(data->ctx, data->ctx->domain, data->hostname,
+ attrs, &data->host);
return ret;
}