]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
test/nodelist: Remove ROUTERSTATUS_FORMAT_NO_CONSENSUS_METHOD
authorteor <teor@torproject.org>
Mon, 20 Jan 2020 03:42:13 +0000 (13:42 +1000)
committerteor <teor@torproject.org>
Mon, 20 Jan 2020 05:51:30 +0000 (15:51 +1000)
When we removed obsolete consensus methods in 32695, we also
removed ROUTERSTATUS_FORMAT_NO_CONSENSUS_METHOD, so we need to
remove it from the routerstatus format tests.

Part of 20218.

src/test/test_nodelist.c

index 388cd74f3b7c872f6d7d840b69dab9bad8a209cf..fbbbf0a99f6c65010ecc98706fa6d35109774379 100644 (file)
@@ -1272,10 +1272,8 @@ test_nodelist_routerstatus_has_visibly_changed(void *arg)
     tor_free(fmt);                                                        \
     fmt_orig = routerstatus_format_entry(&rs_orig, NULL, NULL,            \
                           NS_CONTROL_PORT,                                \
-                          ROUTERSTATUS_FORMAT_NO_CONSENSUS_METHOD,        \
                           NULL);                                          \
     fmt = routerstatus_format_entry(&rs, NULL, NULL, NS_CONTROL_PORT,     \
-                          ROUTERSTATUS_FORMAT_NO_CONSENSUS_METHOD,        \
                           NULL);                                          \
     tt_assert(fmt_orig);                                                  \
     tt_assert(fmt);                                                       \