summaryrefslogtreecommitdiffstats
path: root/src/tests/pac_responder-tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/pac_responder-tests.c')
-rw-r--r--src/tests/pac_responder-tests.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/pac_responder-tests.c b/src/tests/pac_responder-tests.c
index 847dbe009..4b6f03f55 100644
--- a/src/tests/pac_responder-tests.c
+++ b/src/tests/pac_responder-tests.c
@@ -310,6 +310,7 @@ START_TEST(pac_test_find_domain_by_id)
fail_unless(id != NULL, "talloc_asprintf failed.\n");
dom = find_domain_by_id(domains, id);
+ fail_unless(dom != NULL, "Domain %zu not found by id.", c);
fail_unless((strcmp(dom->domain_id, id) == 0),
"Wrong domain returned for id [%s].", id);