test: Reset mocktime in the common setup

Doing it there will reduce code bloat and also ensure no test can "forget" to reset it
This commit is contained in:
MarcoFalke
2021-04-14 10:30:01 +02:00
parent fa78590a8f
commit fa40d6a1c4
6 changed files with 1 additions and 13 deletions

View File

@@ -335,7 +335,6 @@ BOOST_AUTO_TEST_CASE(rpc_ban)
o1 = ar[0].get_obj();
adr = find_value(o1, "address");
BOOST_CHECK_EQUAL(adr.get_str(), "2001:4d48:ac57:400:cacf:e9ff:fe1d:9c63/128");
SetMockTime(0s);
}
BOOST_AUTO_TEST_CASE(rpc_convert_values_generatetoaddress)