tests: set CanBePrefix in daemon tests
This commit also updates makeInterest and makeNack functions
so that their APIs are compatible with ndn-cxx test suite.
refs #4581
Change-Id: I0c81740416c26a03450dc3a12c89944b72ce5901
diff --git a/tests/daemon/mgmt/manager-base.t.cpp b/tests/daemon/mgmt/manager-base.t.cpp
index 0dace4e..c253bb8 100644
--- a/tests/daemon/mgmt/manager-base.t.cpp
+++ b/tests/daemon/mgmt/manager-base.t.cpp
@@ -114,7 +114,7 @@
m_manager.registerStatusDatasetHandler("test-status", handler);
setTopPrefix();
- receiveInterest(Interest("/localhost/nfd/test-module/test-status"));
+ receiveInterest(*makeInterest("/localhost/nfd/test-module/test-status", true));
BOOST_CHECK(isStatusDatasetCalled);
}