comm: Make SyncLogic responsible for update prefix
refs: #2289
Change-Id: I7687e36c88853bdf58de654b1ca280662a826b4b
diff --git a/tests/test-lsdb.cpp b/tests/test-lsdb.cpp
index 23083c9..d0508e1 100644
--- a/tests/test-lsdb.cpp
+++ b/tests/test-lsdb.cpp
@@ -42,7 +42,7 @@
LsdbFixture()
: face(ndn::makeDummyFace())
, nlsr(g_ioService, g_scheduler, ndn::ref(*face))
- , sync(*face, nlsr.getLsdb(), nlsr.getConfParameter())
+ , sync(*face, nlsr.getLsdb(), nlsr.getConfParameter(), nlsr.getSequencingManager())
, lsdb(nlsr.getLsdb())
, conf(nlsr.getConfParameter())
, REGISTER_COMMAND_PREFIX("/localhost/nfd/rib")
@@ -175,7 +175,7 @@
//1800 is the default life time.
NameLsa nlsa1(ndn::Name("/router1/1"), std::string("name"), 12, testTimePoint, npl1);
- Lsdb lsdb1(nlsr, g_scheduler);
+ Lsdb lsdb1(nlsr, g_scheduler, nlsr.getSyncLogicHandler());
lsdb1.installNameLsa(nlsa1);
lsdb1.writeNameLsdbLog();