full-producer: gather constructor args into Options struct
refs #5069
Change-Id: I168efffe739a19273b596a7b1cee2f4ade147d75
diff --git a/tests/test-full-sync.cpp b/tests/test-full-sync.cpp
index 91f95db..874f6f7 100644
--- a/tests/test-full-sync.cpp
+++ b/tests/test-full-sync.cpp
@@ -44,8 +44,10 @@
userPrefixes[id] = "/userPrefix" + std::to_string(id);
faces[id] = std::make_unique<ndn::DummyClientFace>(m_io, m_keyChain,
ndn::DummyClientFace::Options{true, true});
- nodes[id] = std::make_unique<FullProducer>(*faces[id], m_keyChain, 40, syncPrefix, userPrefixes[id],
- [] (const auto&) {});
+ FullProducer::Options opts;
+ opts.ibfCount = 40;
+ nodes[id] = std::make_unique<FullProducer>(*faces[id], m_keyChain, syncPrefix, opts);
+ nodes[id]->addUserNode(userPrefixes[id]);
}
void