summaryrefslogtreecommitdiff
path: root/src/test/test_rendcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_rendcache.c')
-rw-r--r--src/test/test_rendcache.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/test/test_rendcache.c b/src/test/test_rendcache.c
index 9898e87098..3ccfe5f9bc 100644
--- a/src/test/test_rendcache.c
+++ b/src/test/test_rendcache.c
@@ -454,11 +454,6 @@ test_rend_cache_store_v2_desc_as_dir(void *data)
rend_cache_init();
- // Test when we are not an HS dir
- mock_routerinfo = NULL;
- ret = rend_cache_store_v2_desc_as_dir("");
- tt_int_op(ret, OP_EQ, RCS_NOTDIR);
-
// Test when we can't parse the descriptor
mock_routerinfo = tor_malloc(sizeof(routerinfo_t));
ret = rend_cache_store_v2_desc_as_dir("unparseable");