tests: Use ndn-cxx/DummyClientFace
refs: #2637
Change-Id: Ife16a81d08e538b4b0a82f1f5d4cc819fc764257
diff --git a/tests/publisher/publisher-fixture.hpp b/tests/publisher/publisher-fixture.hpp
index 2edb668..df299e3 100644
--- a/tests/publisher/publisher-fixture.hpp
+++ b/tests/publisher/publisher-fixture.hpp
@@ -33,7 +33,7 @@
{
public:
PublisherFixture()
- : face(ndn::util::makeDummyClientFace())
+ : face(make_shared<ndn::util::DummyClientFace>())
, nlsr(g_ioService, g_scheduler, ndn::ref(*face))
, lsdb(nlsr, g_scheduler, nlsr.getSyncLogicHandler())
{
diff --git a/tests/publisher/test-segment-publisher.cpp b/tests/publisher/test-segment-publisher.cpp
index 7f34747..035f5e2 100644
--- a/tests/publisher/test-segment-publisher.cpp
+++ b/tests/publisher/test-segment-publisher.cpp
@@ -89,7 +89,7 @@
{
public:
SegmentPublisherFixture()
- : m_face(ndn::util::makeDummyClientFace())
+ : m_face(std::make_shared<ndn::util::DummyClientFace>())
, m_expectedFreshnessPeriod(ndn::time::milliseconds(111))
, m_publisher(*m_face, m_keyChain, m_expectedFreshnessPeriod)
, m_publishingPrefix("/localhost/nfd/SegmentPublisherFixture")