From 1f083a4593b1f07dcf24549853963dedde7f4d02 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 5 Jun 2018 00:37:06 +0200 Subject: use real GNS record types in tests to avoid failures in new extra serialization/deserialization checking --- src/namestore/test_namestore_api_lookup_public.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/namestore/test_namestore_api_lookup_public.c') diff --git a/src/namestore/test_namestore_api_lookup_public.c b/src/namestore/test_namestore_api_lookup_public.c index 28a68daf9..f17bb6fc8 100644 --- a/src/namestore/test_namestore_api_lookup_public.c +++ b/src/namestore/test_namestore_api_lookup_public.c @@ -25,8 +25,9 @@ #include "gnunet_namecache_service.h" #include "gnunet_namestore_service.h" #include "gnunet_testing_lib.h" +#include "gnunet_dnsparser_lib.h" -#define TEST_RECORD_TYPE 1234 +#define TEST_RECORD_TYPE GNUNET_DNSPARSER_TYPE_TXT #define TEST_RECORD_DATALEN 123 -- cgit v1.2.3