From 1cd37978f8883df74bae0d7dbf3f9508bd5b740d Mon Sep 17 00:00:00 2001 From: anonimal Date: Sat, 30 Jun 2018 04:30:27 +0000 Subject: [PATCH] Tests: NetDb: update parameters when adding RI Was not rebased after the buffer refactor in #926 --- tests/unit_tests/core/router/net_db/impl.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit_tests/core/router/net_db/impl.cc b/tests/unit_tests/core/router/net_db/impl.cc index 232da332..d726b668 100644 --- a/tests/unit_tests/core/router/net_db/impl.cc +++ b/tests/unit_tests/core/router/net_db/impl.cc @@ -66,8 +66,8 @@ struct NetDbFixture : public IdentityExFixture std::make_pair(true, false), cap); - m_NetDb->AddRouterInfo( - ri->GetIdentHash(), ri->GetBuffer(), ri->GetBufferLen()); + BOOST_CHECK_NO_THROW( + m_NetDb->AddRouterInfo(ri->GetIdentHash(), ri->data(), ri->size())); return ri; }