added lookup test + fix in test
[oweals/gnunet.git] / src / namestore / test_namestore_api_zone_to_name.c
index 83e7de458dc9cc32fcd8b4d134305d8480478b90..5c5eff87cb48039653b75a63991c13be069c2a27 100644 (file)
@@ -208,11 +208,10 @@ main (int argc, char *argv[])
 {
   res = 1;
   if (0 !=
-      GNUNET_TESTING_service_run ("test-namestore-api-zone-to-name",
-                                 "namestore",
-                                 "test_namestore_api.conf",
-                                 &run,
-                                 NULL))
+      GNUNET_TESTING_peer_run ("test-namestore-api-zone-to-name",
+                               "test_namestore_api.conf",
+                               &run,
+                               NULL))
     return 1;
   return res;
 }