face: delete deprecated FaceSystem constructor
Change-Id: I54d623f1432428c2c3516a00f66dfe3f847bbc2c
Refs: #3377, #4021
diff --git a/tests/daemon/mgmt/face-manager.t.cpp b/tests/daemon/mgmt/face-manager.t.cpp
index 03bdd78..7e294d4 100644
--- a/tests/daemon/mgmt/face-manager.t.cpp
+++ b/tests/daemon/mgmt/face-manager.t.cpp
@@ -44,7 +44,7 @@
public:
FaceManagerFixture()
: m_faceTable(m_forwarder.getFaceTable())
- , m_faceSystem(m_faceTable)
+ , m_faceSystem(m_faceTable, make_shared<ndn::net::NetworkMonitorStub>(0))
, m_manager(m_faceSystem, m_dispatcher, *m_authenticator)
{
setTopPrefix();
@@ -295,9 +295,9 @@
BOOST_AUTO_TEST_CASE(ChannelDataset)
{
- m_manager.m_faceSystem.m_factories["test"] =
+ m_faceSystem.m_factories["test"] =
make_unique<TestProtocolFactory>(m_faceSystem.makePFCtorParams());
- auto factory = static_cast<TestProtocolFactory*>(m_manager.m_faceSystem.getFactoryById("test"));
+ auto factory = static_cast<TestProtocolFactory*>(m_faceSystem.getFactoryById("test"));
const size_t nEntries = 404;
std::map<std::string, shared_ptr<TestChannel>> addedChannels;