face: replace EventEmitter usage with Signal
refs #2300
Change-Id: I17d0d65d2c474b17dd9f23f271a6144b0b4fbc07
diff --git a/tests/daemon/mgmt/internal-face.cpp b/tests/daemon/mgmt/internal-face.cpp
index 2215c0e..ca2a899 100644
--- a/tests/daemon/mgmt/internal-face.cpp
+++ b/tests/daemon/mgmt/internal-face.cpp
@@ -31,8 +31,6 @@
namespace nfd {
namespace tests {
-NFD_LOG_INIT("InternalFaceTest");
-
class InternalFaceFixture : protected BaseFixture
{
public:
@@ -112,7 +110,7 @@
bool didPutData = false;
Name dataName("/hello");
- face->onReceiveData += bind(&validatePutData, ref(didPutData), dataName, _1);
+ face->onReceiveData.connect(bind(&validatePutData, ref(didPutData), dataName, _1));
Data testData(dataName);
m_keyChain.sign(testData);