summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/simple_access-tests.c4
-rw-r--r--src/tests/sysdb-tests.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/tests/simple_access-tests.c b/src/tests/simple_access-tests.c
index aaf75787..6d214dc7 100644
--- a/src/tests/simple_access-tests.c
+++ b/src/tests/simple_access-tests.c
@@ -189,11 +189,11 @@ void setup_simple_group(void)
fail_if(ret != EOK, "Could not add g2");
ret = sysdb_add_group_member(test_ctx->sysdb, test_ctx->ctx->domain,
- "g1", "u1", SYSDB_MEMBER_USER);
+ "g1", "u1", SYSDB_MEMBER_USER, false);
fail_if(ret != EOK, "Could not add u1 to g1");
ret = sysdb_add_group_member(test_ctx->sysdb, test_ctx->ctx->domain,
- "g2", "u2", SYSDB_MEMBER_USER);
+ "g2", "u2", SYSDB_MEMBER_USER, false);
fail_if(ret != EOK, "Could not add u2 to g2");
}
diff --git a/src/tests/sysdb-tests.c b/src/tests/sysdb-tests.c
index d0aff2d7..781d3951 100644
--- a/src/tests/sysdb-tests.c
+++ b/src/tests/sysdb-tests.c
@@ -331,7 +331,7 @@ static int test_add_group_member(struct test_data *data)
ret = sysdb_add_group_member(data->ctx->sysdb, data->ctx->domain,
data->groupname, username,
- SYSDB_MEMBER_USER);
+ SYSDB_MEMBER_USER, false);
return ret;
}
@@ -347,7 +347,7 @@ static int test_remove_group_member(struct test_data *data)
ret = sysdb_remove_group_member(data->ctx->sysdb, data->ctx->domain,
data->groupname, username,
- SYSDB_MEMBER_USER);
+ SYSDB_MEMBER_USER, false);
return ret;
}
@@ -3969,7 +3969,7 @@ START_TEST(test_odd_characters)
/* Add to the group */
ret = sysdb_add_group_member(test_ctx->sysdb, test_ctx->domain,
odd_groupname, odd_username,
- SYSDB_MEMBER_USER);
+ SYSDB_MEMBER_USER, false);
fail_unless(ret == EOK, "sysdb_add_group_member error [%d][%s]",
ret, strerror(ret));