summaryrefslogtreecommitdiffstats
path: root/src/tests/cmocka/test_resolv_fake.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/cmocka/test_resolv_fake.c')
-rw-r--r--src/tests/cmocka/test_resolv_fake.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tests/cmocka/test_resolv_fake.c b/src/tests/cmocka/test_resolv_fake.c
index 2c846ce4c..a1e9ee4cb 100644
--- a/src/tests/cmocka/test_resolv_fake.c
+++ b/src/tests/cmocka/test_resolv_fake.c
@@ -293,8 +293,7 @@ void test_resolv_fake_srv_done(struct tevent_req *req)
assert_int_equal(ttl, 500);
talloc_free(tmp_ctx);
- test_ctx->ctx->error = EOK;
- test_ctx->ctx->done = true;
+ test_ev_done(test_ctx->ctx, EOK);
}
void test_resolv_fake_srv(void **state)