tests: don't use makeDummyClientFace
refs #3383
Change-Id: I1803a6f482a4e6bf43363cd08a73c4bbcb26d0a2
diff --git a/tests/manager-common-fixture.cpp b/tests/manager-common-fixture.cpp
index cdf818d..a491296 100644
--- a/tests/manager-common-fixture.cpp
+++ b/tests/manager-common-fixture.cpp
@@ -29,9 +29,9 @@
namespace tests {
ManagerCommonFixture::ManagerCommonFixture()
- : m_face(ndn::util::makeDummyClientFace(UnitTestTimeFixture::g_io, {true, true}))
- , m_dispatcher(*m_face, m_keyChain, ndn::security::SigningInfo())
- , m_responses(m_face->sentDatas)
+ : m_face(getGlobalIoService(), m_keyChain, {true, true})
+ , m_dispatcher(m_face, m_keyChain, ndn::security::SigningInfo())
+ , m_responses(m_face.sentData)
, m_identityName("/unit-test/ManagerCommonFixture/identity")
, m_certificate(m_keyChain.getCertificate(m_keyChain.createIdentity(m_identityName)))
{
@@ -63,7 +63,7 @@
void
ManagerCommonFixture::receiveInterest(shared_ptr<Interest> interest)
{
- m_face->receive<Interest>(*interest);
+ m_face.receive(*interest);
advanceClocks(time::milliseconds(1));
}